Generating multiple plots using loop with series name (legend)

Generating multiple plots using loop with series name (legend) - Сообщения

#1 Опубликовано: 15.12.2024 20:21:27
usamakhan

usamakhan

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

Группа: User

I am using XY plot to generate multiple graphs, however I am doing it manually. How can I
1] Script a loop to dynamically generate multiple plots
2] Dynamically generate series name (which will be used for plot legend)

NaOH_Demiwater_VECTOR.sm (23 КиБ) скачан 22 раз(а).
#2 Опубликовано: 15.12.2024 23:26:07
Martin Kraska

Martin Kraska

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

Группа: Moderator

If Maxima is an option for you, then you can entirely automate the production of plots.

For an overview on available plot objects and options see SMath with Maxima.

In X-Y Plot, you can use geometric objects to create the lines and perhaps also a legend.

BTW, there is no point of naming the variable Load.kAmp, because the value is converted to A anyways directly upon storage, unless you just store a number, bypassing the SMath unit system. When you retrieve numerical values, you decide what units to use, independently of what was originally used to specify the value.

2024-12-15 17_20_47-SMath Solver - [NaOH_Demiwater_VECTOR_Kr.sm].png
NaOH_Demiwater_VECTOR_Kr.sm (208 КиБ) скачан 21 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
usamakhan 16.12.2024 00:25:00
#3 Опубликовано: 15.12.2024 23:58:49
usamakhan

usamakhan

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

Группа: User

Unfortunately Maxima is not supported under Linux ..I am using MONO version

Also Image Region plugin is bugged under Linux

Extremely thanks for help anyway

Screenshot from 2024-12-15 20-03-28.png
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений