2: Simple example
4: Finer Control
5: X-Y Plots
6: Contour Plots
7: Image Plots
9: Gri Commands
12: Emacs Mode
15: Gri Bugs
16: Test Suite
17: Gri in Press
10.9: Rpn (reverse-polish notation) CalculatorGri can do simple mathematics on numbers. The syntax is reverse-polish notation (`
Syntax: rpn expressions can be used anywhere Gri expects a number.
RPN expressions start with a opening curly brace (`
If an rpn expression contains a variable whose value is ``missing'', then the value of the result of the expression will also be missing (unless the value of the missing variable is thrown away with a ``pop'' operator). However, if a missing value just happens to occur as the result of an intermediate calculation, then the result is not considered to be missing.
RPN operations can be divided roughly into the following groups.