how to do semilog or loglog plot of discrete data

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

#1 Objavljeno: 28. 10. 2019. 18:06:01
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 28. 10. 2019. 22:04:38
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Utilities logpts Populate Quick.sm (14,43 KiB) preuzeto 1229 put(ova).
2D Plot Stem log10 DECADES Bode.sm (170,07 KiB) preuzeto 1307 put(ova).
#3 Objavljeno: 29. 10. 2019. 05:00:03
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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) preuzeto 1283 put(ova).
Draw2D3D.pdf (3,95 MiB) preuzeto 1141 put(ova).

points1.png
points1.sm (148,74 KiB) preuzeto 1250 put(ova).



Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • Novi postovi
  • Nema novih postova