navigation map

  1: Introduction
  2: Simple example
  3: Invocation
  4: Finer Control
  5: X-Y Plots
  6: Contour Plots
  7: Image Plots
  8: Examples
  9: Gri Commands
  10: Programming
  11: Environment
  12: Emacs Mode
  13: History
  14: Installation
  15: Gri Bugs
  16: Test Suite
  17: Gri in Press
  18: Acknowledgments
  19: License

index.html#Top ListOfGriCommands.html#ListOfGriCommands Gri: `regress' command Gri: `rescale' command index.html#Top Gri: `rescale' command

9.3.35: `reorder'

`reorder columns randomly \
  |{ascending in x|y|z} \
  |{descending in x|y|z}'

Reorder the columns in various ways.

In the `randomly' style, the column data are shuffled randomly by index, retaining the correspondance between a given x and y. This is useful with `draw symbol' using colored dots -- it prevents the overpainting of one dot on another from biasing the color field to values that happened to occur near the end of the column data. If you prefer the overpainting to be done in random order, use this command to reorder the columns randomly. The random number is selected using the system `rand' call, with the seed being provided by the PID (process ID) of the job.

The `ascending' and `descending' styles do what you'd expect.

navigation map