Get the upper and/or lower z-axis limits of the plot
Integer_Type chips_get_zrange()
Determines the limits of the plot's z-axis. On
success, two float values will be returned. Two NULLs
are returned on error (e.g. if there is no drawing area).
Note that the limits returned are those used internally by
ChIPS to draw the plot axes, so they may not
match the numeric limits of the plotted data.
To return either the minimum or the maximum value, the syntax
(zmin,) = chips_get_zrange()
(,zmax) = chips_get_zrange()
can be used.
The limits may be adjusted with chips_set_zrange.
chips> surface tabbed.data 0 150
chips> (zmin,zmax) = chips_get_zrange()
chips> vmessage("zmin = %f, zmax = %f",zmin,zmax)
zmin = 0.000000, zmax = 150.000000
The minimum and maximum values of the z-axis for a surface
plot are printed out.
chips> surface tabbed.data 0 100
chips> (,rmax) = chips_get_zrange()
chips> print(rmax)
100
Here only the upper (maximum) z-axis limit was desired.
- chips
-
chips_auto_redraw,
chips_clear,
chips_color_name,
chips_color_value,
chips_get_pane,
chips_get_xrange,
chips_get_xscale,
chips_get_yrange,
chips_get_yscale,
chips_get_zscale,
chips_label,
chips_line,
chips_pickpoints,
chips_redraw,
chips_set_pane,
chips_set_xrange,
chips_set_xscale,
chips_set_yrange,
chips_set_yscale,
chips_set_zrange,
chips_set_zscale,
chips_split,
chips_version
|