The minimum and maximum values of each axis can be set from within
the user function just as with the
range axis
command,
ra
. You also can have either or both axes auto-ranged by the plot program
in a manner similar to the
new points
command,
np
.
Name |
What it Does |
|
|
|
new_points() |
Axis ranges set from current data |
new_xpoints() |
x-axis ranges set from current data |
new_ypoints() |
y-axis ranges set from current data |
new_zpoints() |
z-axis ranges set from current data |
set_xmin(x) |
Set x-axis minimum to x |
set_xmax(x) |
Set x-axis maximum to x |
set_ymin(y) |
Set y-axis minimum to y |
set_ymax(y) |
Set y-axis maximum to y |
set_zmin(z) |
Set z-axis minimum to z |
set_zmax(z) |
Set z-axis maximum to z |
get_xmin() |
Value is x-axis minimum |
get_xmax() |
Value is x-axis maximum |
get_ymin() |
Value is y-axis minimum |
get_ymax() |
Value is y-axis maximum |
get_zmin() |
Value is z-axis minimum |
get_zmax() |
Value is z-axis maximum |
|
The automatic ranging of the axes using the first three macros won't
take effect until the function returns to the plot program, so the
macros to retrieve the axis extremes will return the values contained
on entry to the user function or set in the current invocation of
the user function.