Integer_Type chips_set_zscale(scale)
Sets the scale of the plot's z-axis.
Arguments for chips_set_zscale
scale |
Numeric |
0, 1, "linear", "log", _chips->log, _chips->linear |
logarithm is base 10 |
When invoked with no argument, the function will reset the
scale to linear.
The function returns a 0 on success and -1 on failure.
The current scale may be found with chips_get_zscale.
chips> chips_set_zscale("log")
0
The z-axis for a plot is changed to log scale. Equivalent
commands are:
chips> chips_set_zscale(0)
chips> chips_set_zscale(_chips->log)
chips> chips_set_zscale(0)
0
chips> chips_set_zscale(_chips->linear)
0
First, the z-axis is set to logarithmic scale. The second
"chips_set_zscale" command changes it back to a linear scale;
equivalent commands are:
chips> chips_set_zscale(1)
chips> chips_set_zscale("linear")
chips> chips_set_zscale()
- 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_zrange,
chips_split,
chips_version
|