how to do semilog or loglog plot of discrete data

how to do semilog or loglog plot of discrete data - Сообщения

#1 Опубликовано: 28.10.2019 18:06:01
jcuadra

jcuadra

0 сообщений из 12 понравились пользователям.

Группа: 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 Опубликовано: 28.10.2019 22:04:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Utilities logpts Populate Quick.sm (14 КиБ) скачан 65 раз(а).
2D Plot Stem log10 DECADES Bode.sm (170 КиБ) скачан 64 раз(а).
#3 Опубликовано: 29.10.2019 05:00:03
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 КиБ) скачан 71 раз(а).
Draw2D3D.pdf (3 МиБ) скачан 58 раз(а).

points1.png
points1.sm (148 КиБ) скачан 47 раз(а).



Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений