C-PLOT

Scientific Graphics and Data Analysis

5.6. - np reset axes for new points



sets new axis ranges based on the current set of data.
np
or
np x|y|z
Once the data ranges are set, automatically with the first data, explicitly using the ra or ro commands, or as part of a reset with the re command, those ranges remain in effect when new data is entered. The np command will reset the axis ranges to encompass the maximum and minimum values of the current data. If error-bar mode is on, the ranges are set to include the error bars.

With an argument of x, y or z, np will reset the range only of the axis specified.

If the plot type is set for a logarithmic axis, C-PLOT ignores points less than or equal to zero when doing the automatic ranging.

The new points command will clear any range specifications set with the ra or ro command. If there is no data present or if all the x, y or z values are the same, an error message is printed.