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 Commands.html#Commands Gri: Command Syntax Gri: `assert' command index.html#Top Gri: `assert' command

9.3: List of all Gri commands

Commands are listed below in the order in which they are defined in the `gri.cmd' file (see Invoking Gri). What you see here is similar to, but not identical to, the text of the online help. Gri usually accepts both American and English spellings (As an example of spelling latitude, Gri accepts `grey' anywhere the manual says `gray', and `colour' for `color'.)

  • Assert: Assert something to be true (for debugging)
  • Cd: Change directory
  • Close: Close a file
  • Convert: Convert various data types
  • Create: Create columns from specified function
  • Debug: Set to debugging mode
  • Delete: Delete various data structures
  • Differentiate: Differentiate things
  • Draw: Draw various things
  • End Group: End a group
  • Expecting: Make Gri warn of incompatibilites
  • Filter: Filter (smooth) various data structures
  • Flip: Flip or transpose grid or image
  • Get Env: Get a unix environment variable
  • Group: Start a group of drawn objects
  • Heal: Interpolate across missing values
  • Help: Give on-line help
  • If: If and if/else statements
  • Ignore: Ignore some of data recently read in
  • Input: Input PostScript file into output file
  • Insert: Run another command file
  • Interpolate: Interpolate grid data to new x/y grid
  • List: List source of a gri command
  • Ls: List files in current directory
  • Mask: Mask the image
  • New: Get space for new variable or synonym
  • Newpage: Start a new page
  • New Postscript File: Start a new PostScript file
  • Open: Open a data file
  • Postscript: Insert a line into the PostScript file
  • Pwd: Print working directory
  • Query: Get user input
  • Quit: Exit from gri
  • Read: Read something
  • Regress: Do linear regressions on columnar data
  • Reorder: Reorder columns
  • Rescale: Re-determine scales for x/y axes
  • Resize: Resize plot width/height for maps
  • Return: Return early from command or insert file
  • Rewind: Rewind data file to beginning
  • Rpnfunction: Define an rpn function
  • Set: Set various preference flags, etc
  • Show: Show values of various things
  • Skip: Skip some lines in data file
  • Sleep: Sleep for a while
  • Smooth: Smooth data
  • Source: Run another command file
  • Sprintf: Print variable values into a synonym
  • State: Save or restore the graphics state
  • Superuser: Enable some programmers debugging commands
  • System: Performing system commands within gri
  • Unlink: Delete file
  • While: Loop over some code while a condition is true
  • Write: Write data to a file
navigation map