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

12.42: The `show' Command

`show ...'
Show some information by printing it to standard output.

  • `show all' Show lots of information about plot.

  • `show axes' Show information about axes.

  • `show color' Show the current pen color used for lines and text. This is not to be confused with image color, which is independent.

  • `show colornames' Show all colors known by name, as defined by `read colornames' command and also the builtin colors defined automatically (e.g. `white', `black', `red', etc), see Read Colornames.

  • `show columns' Show x, y, z, u, v column data.

  • `show columns statistics' Show means, std devs, etc for columns.

  • `show flags' Show values of all flags. (Developers only.)

  • `show grid' Show an indication of the grid data (used for contouring).

  • `show grid mask' Show 1 if grid data are valid or 0 if contours wil not extend into this region.

  • `show hint of the day' Show a Gri hint for today, picked at random from hints stored on the web at `www.phys.ocean.dal.ca/~kelley/gri/HINTS.html' These will be downloaded at most once per day. Since the download might take a couple of seconds, the hint is only downloaded once per day, being cached for later uses in the given day, in a user file called `~/.gri-hint-cache'. This command will produce warning if the system program `lynx' is not available for downloading.

  • `show image' Show information about image, such as a histogram of values, and, if the image is small enough, the actual data.

  • `show license' Show the license for Gri, which outlines how users are allowed to share it freely.

  • `show misc' Show miscellaneous information about the plot, the data, etc.

  • `show next line' Show next line of data-file.

  • `show synonyms' Show values of all synonyms, whether built-in or user-defined.

  • `show stopwatch' Show elapsed time since first call to this command in the given Gri program.

  • `show time' Show the current time.

  • `show traceback' Show traceback (i.e., the tree of commands being done at this instant).

  • `show variables' Show values of all variables, whether built-in or user-defined.

  • `show .value.' Show value of indicated variable.

  • `show {rpn ...}' Show result of computing indicated expression.

  • `show "some text"' Print the indicated string. Certain control codes are allowed: `\n' means newline; `\t' means tab.

  • `show "time=" .time. "; depth=" .depth.' Print strings and values as indicated. If the last item is ellipses (three dots with no spaces between them), then no newline is printed; this makes the next `show' statement print on the same line.