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 Jason C  
#1 Posted : 29 October 2019 00:06:01(UTC)
Jason C


Rank: Member

Groups: Registered
Joined: 15/10/2019(UTC)
Posts: 12
United States
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

Capture.PNG

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

Offline Jean Giraud  
#2 Posted : 29 October 2019 04:04:38(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 981 time(s) in 809 post(s)
We have examples of:
1. log10 decades
2. logpts populate low region.

Utilities logpts Populate Quick.sm (15kb) downloaded 41 time(s).
2D Plot Stem log10 DECADES Bode.sm (171kb) downloaded 38 time(s).
Offline mkraska  
#3 Posted : 29 October 2019 11:00:03(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: Jason C Go to Quoted Post
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.png
points1.sm (149kb) downloaded 29 time(s).



Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Users browsing this topic
Guest
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.