C-PLOT

Scientific Graphics and Data Analysis

C.14. - sort.4



Sort.4 sorts the current data by x, y or s, the error-bar column (which doesn't have to contain error-bar values). Data can be sorted by increasing (forward) values or decreasing (reverse) values.
fn sort.4
or
fn sort.4 [x|y|z|s] [f|r]
With no command-line options, you are prompted for the data column to sort by, and whether to sort in the forward or reverse sense.

The command-line arguments can be entered together as one word, or separately. Only the last valid command letters are considered. The default each time is to sort in the forward sense by x.