XY Plot -X and Y axis with variables

XY Plot -X and Y axis with variables - Control the plot axis with calculated values - Messages

#1 Posted: 4 years ago
Lloyd Snell

Lloyd Snell

0 likes in 8 posts.

Group: User

This is a continuation of learning to plot in Smath, heck learning Smath.
I have been able to get the XYplots correctly done.
But now I am searching for a solution to define the x- and y-axis min maximum values using calculated values (See the Variables for setting plot axis values ... section).
I am aware formatting X-Y Table, but have not been successful in using it as a place holder for the calculated values, all seems to be static.

Looking forward to your responses.

Lloyd

2D Plot - Axis Control.sm (13 KiB) downloaded 89 time(s).
#2 Posted: 4 years ago
overlord

overlord

558 likes in 1,335 posts.

Group: Moderator

There is a function to change the XYPlot settings, setprop().
Here is a demonstration for your file.
And below you can find examples for setprop() settings.

Regards

2D Plot - Axis Control_r1.sm (14 KiB) downloaded 115 time(s).

XYPlotTools.sm (48 KiB) downloaded 119 time(s).

2021-10-26_03-26.png
1 users liked this post
Oscar Campo 3 years ago
  • New Posts New Posts
  • No New Posts No New Posts