top banner
Gri Commands
1: Introduction
2: Simple example
3: Fancy example
4: Running Gri
5: Programming Gri
6: General Issues
7: X-Y Plots
8: Contour Plots
9: Image Plots
10: Examples
11: Handling Data
12: Gri Commands
13: Gri Extras
14: Evolution of Gri
15: Installing Gri
16: Gri Bugs
17: System Tools
18: Acknowledgments
19: License
20: Newsgroup

21: Concept Index
navigate navigate navigate navigate navigate navigate

12: List of Commands in the Gri Language

Commands are listed below in the order in which they are defined in the `gri.cmd' file see Options On Command Line. 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'.) Here is an introduction to Gri commands and their syntax: Here is a list of all comands:
  • 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
  • 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
  • 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: Insert a separate file into the current one
  • 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: Go to a new page
  • 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
  • Smooth: Smooth data
  • 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
  • While: Loop over some code while a condition is true
  • Write: Write data to a file
bottom banner