Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline alyles  
#1 Posted : 23 March 2018 20:31:18(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
Is there a way to plot discrete data using Draw2D function. I see there is a method of plotting by defining points within maxima using method shown below.

Maxima_discrete.png

I've been able to plot just points themselves using the points() function. But haven't been able to figure out how to get the connecting lines without defining explicit functions.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 23 March 2018 21:37:57(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
use the option points_joined=true

The snippet "Draw-descriptions" provides help texts for the graphics objects and options.

See the Handbuch for examples.

2018-03-23 19_33_57-SMath Studio - [Blatt3_].png
2018-03-23 19_34_59-SMath Studio - [Blatt3_].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 23/03/2018(UTC)
Offline alyles  
#3 Posted : 23 March 2018 22:03:23(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
Beautiful. Thank you. Exactly what I was looking for.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline Jean Giraud  
#4 Posted : 24 March 2018 17:39:15(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: alyles Go to Quoted Post
But haven't been able to figure out how to get the connecting lines without defining explicit functions.

Your query is misleading: Draw 2d discrete is not same as showing junction lines.
If you really want the junction lines as discrete points, you must have a creator.
Just from junction lines [that can't be extracted] you can't derive/integrate,
neither compute the arc length ... The display junction shows the path of the
junction between points, only ... not much use.

If you have more specific needs, please do not hesitate.

XoYo.PNG

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.