Programming Gri
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 |
5.7: MathematicsGri lets you do some simple mathematical manipulations on your column and grid data. The column operators are `= ', `+= ', `-= ', `*= ',
`/= ', `^= ' (exponentiation) and `_= ' (logarithm). There
must be spaces before and after the operators, but no space between the
2 letters of the operators. The operations may be applied not only to
`x ' and `y ' as shown, but also so `z ' (used to hold data
to be contoured or written as symbols), and `u ' and `v ' (used
to store vector fields).
The axis scales are not changed by mathematical operations on the
columns, regardless of whether the scales were set manually or by Gri
command) see Autoscaling.
Elements of columns are available by the `@ ' reverse polish
operator (see rpn Mathematics.).
Examples:
5.7.1: Grid dataVarious commands let you alter grid data as used in contouring (see Contour Plots.). Possible commands are as follows.
5.7.1.1: Image dataVarious commands let you alter image data (see Images..). Possible commands are as follows.
5.7.1.2: Image grayscale/colorscaleVarious commands let you alter image data (see Images..). Possible commands are as follows.
5.7.1.3: VariablesPossible commands are:
|