set x|y|z|t|e val1 <val2>
This sets one dimension of the dimension environment using grid
coordinates. You may use whatever coordinates are convenient to you.
set lon is equivalent to issuing
both set the
x dimension. The difference is only the units
you wish to use when entering the command.
When you enter just one value, that dimension is said to be "fixed". When you enter two values, that dimension is said to be "varying". The combination of fixed and varying dimensions defines the dimension environment.
The 'set e' command is only available in grads version 2.0+, when the ensemble dimension was introduced.
An important note: When you enter dimensions in grid coordinates, they are always converted to world coordinates. This conversion requires some knowledge of what scaling is in use for grid to world conversions. The scaling that is used in all cases (except one) is the scaling of the DEFAULT FILE. The exception is when you supply a dimension expression within a variable specification.
If you are setting the T or E dimension using grid coordinates, the value given in
val2 may be the word "last" to set the dimension to the max value of that grid coordinate.
set t 1