SMath Studio Forum
»
SMath Studio
»
Questions
»
how to do semilog or loglog plot of discrete data
Rank: Member Groups: Registered
Joined: 15/10/2019(UTC) Posts: 12 Location: CA
|
Hello all, I need to do log-log and semilog plots of data in vectors. I searched around and it seems Maxima would be the most flexible way to do it. Can someone show me the correct syntax? (I feel like a dummy ... ) TIA
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,986 Was thanked: 1124 time(s) in 721 post(s)
|
Originally Posted by: Jason C Hello all,
I need to do log-log and semilog plots of data in vectors. I searched around and it seems Maxima would be the most flexible way to do it.
Can someone show me the correct syntax? (I feel like a dummy ... )
TIA
The command "discrete" isn't a valid draw command. Maxima has two ways of plotting, one using plot2d() and plot3d() and one using draw(). The Draw regions from the Maxima plugin as well as the functions Draw2D() and Draw3D() use the draw package, which is essentially an interface to gnuplot. There is a lot of examples in the Samples>Maxima topic of the forum You want to use the command points(matrix), where matrix is a two-column matrix of x and y data. In my pdf Handbuch you find a lot of example plots. In recent version it seems that the draw regions aren't as robust as the DrawD/3D() commands. In the attachment you find the smath sheet generating the handbuch plots. Draw2D3D.sm (482kb) downloaded 45 time(s). Draw2D3D.pdf (4,054kb) downloaded 36 time(s). points1.sm (149kb) downloaded 29 time(s). |
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
how to do semilog or loglog plot of discrete data
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.