how to do semilog or loglog plot of discrete data

how to do semilog or loglog plot of discrete data - Messaggi

#1 Pubblicato: 28/10/2019 18:06:01
jcuadra

jcuadra

0 apprezzamenti in 12 post.

Gruppo: User

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
#2 Pubblicato: 28/10/2019 22:04:38
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

We have examples of:
1. log10 decades
2. logpts populate low region.

Utilities logpts Populate Quick.sm (14,43 KiB) scaricato 1205 volta(e).
2D Plot Stem log10 DECADES Bode.sm (170,07 KiB) scaricato 1284 volta(e).
#3 Pubblicato: 29/10/2019 05:00:03
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

Wrote

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 (481,77 KiB) scaricato 1264 volta(e).
Draw2D3D.pdf (3,95 MiB) scaricato 1110 volta(e).

points1.png
points1.sm (148,74 KiB) scaricato 1221 volta(e).



Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • Nuovi post
  • Nessun nuovo post