Generating multiple plots using loop with series name (legend)

Generating multiple plots using loop with series name (legend) - Mensajes

#1 Publicado: 15/12/2024 20:21:27
usamakhan

usamakhan

7 me gusta en 97 mensajes.

Grupo: 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,47 KiB) descargado 1745 vez(es).
#2 Publicado: 15/12/2024 23:26:07
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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,46 KiB) descargado 1806 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
usamakhan 16/12/2024 0:25:00
#3 Publicado: 15/12/2024 23:58:49
usamakhan

usamakhan

7 me gusta en 97 mensajes.

Grupo: 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
  • Nuevos mensajes
  • Sin mensajes nuevos