1 страниц (4 вхождений)
2D vector plot - plot vector values on Y axis against vector index on X axis - Сообщения
#1 Опубликовано: 21.01.2014 12:44:16
I try to plot a vector of results on a 2D graph to better visulize the results.
I would like to plot the vector values on the Y axis against the vector index on the X axis.
Here I post what I have done in MathCad and what I try in SMath.
issue 1: I need help in defining the plot value for SMath.
issue 2: I also need help in how to define two or more expressions within one for loop.
[albumimg]338[/albumimg]
[albumimg]339[/albumimg]
Thank you,
Jay
I would like to plot the vector values on the Y axis against the vector index on the X axis.
Here I post what I have done in MathCad and what I try in SMath.
issue 1: I need help in defining the plot value for SMath.
issue 2: I also need help in how to define two or more expressions within one for loop.
[albumimg]338[/albumimg]
[albumimg]339[/albumimg]
Thank you,
Jay
#2 Опубликовано: 21.01.2014 12:52:41
Just use x as index.WroteI would like to plot the vector values on the Y axis against the vector index on the X axis.
Use the line() function (programming palette) to set up blocks of expressions.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 21.01.2014 17:39:11
Thank you mkraska.
this is what I have now.
[albumimg]340[/albumimg]
By chance, is there any way to have the plot connect the data points with a line segment between points rather than having this stepped look? If so, it would easier to see the slope of the curve at the various divisions along the way.

this is what I have now.
[albumimg]340[/albumimg]
By chance, is there any way to have the plot connect the data points with a line segment between points rather than having this stepped look? If so, it would easier to see the slope of the curve at the various divisions along the way.
#4 Опубликовано: 21.01.2014 18:16:57
Wrote
By chance, is there any way to have the plot connect the data points with a line segment between points rather than having this stepped look? If so, it would easier to see the slope of the curve at the various divisions along the way.
Yes, of course. See the attached handbook pages.
Section 2D plots XY Plot Plugin.sm (58 КиБ) скачан 56 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений