1 Pages (3 items)
Generating multiple plots using loop with series name (legend) - Messages
#1 Posted: 12/15/2024 8:21:27 PM
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 KiB) downloaded 63 time(s).
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 KiB) downloaded 63 time(s).
#2 Posted: 12/15/2024 11:26:07 PM
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](/en-US/file/Hn75yo/2024-12-15-17_20_47-SMath-Solver---_NaOH_Demiwater_VECTOR_Kr_sm__png)
NaOH_Demiwater_VECTOR_Kr.sm (208 KiB) downloaded 61 time(s).
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.
NaOH_Demiwater_VECTOR_Kr.sm (208 KiB) downloaded 61 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
usamakhan 12/16/2024 12:25:00 AM
1 Pages (3 items)
-
New Posts
-
No New Posts