Set the upper and/or lower z-axis limits of the plot
Integer_Type chips_set_zrange(range)
Sets the limits of the plot's z-axis.
Arguments for chips_set_zrange
range |
Numeric |
a pair of numeric values, "auto", or "*" (see below) |
auto |
If a pair of values is used for the "range", it may either be
two comma-separated values (minimum and maximum), or a single
array whose first two elements will be used as minimum and
maximum. The "*" character indicates no change in the current
limit, while "auto" allows the underlying plotting package to
select the limit value; both of these options must be quoted
to work properly.
ChIPS converts double-precision numbers to
floating-point values before plotting them, which can cause
problems for values that are either too large or too small.
The allowed range is approximately 1e-38 to 3e38 (for both
positive and negative values).
The function returns a 0 on success and -1 on failure.
The current limits may be found with chips_get_zrange.
chips> surface tabbed.data 0 150
chips> chips_set_zrange(-10,140)
0
The minimum and maximum values of the z-axis for a surface
plot are changed.
chips> surface tabbed.data 0 100
chips> chips_set_zrange(-25,"*")
0
chips> chips_set_zrange("auto","auto")
0
First, the lower limit of the plot is changed to -25, while the
original upper limit is retained. The second
"chips_set_yrange" command has the plotting package determine
the best limits for the plot.
- 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_zrange,
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_zscale,
chips_split,
chips_version
|