<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--><style type="text/css"> <!-- body { background-color: #e0f0ff; } --> </style> <H2><B>set x|y|z|t|e</B></H2> <P> <code>set x|y|z|t|e <i>val1 <val2></i></code> <p> This sets one dimension of the <a href="dimenv.html">dimension environment </a>using grid coordinates. You may use whatever coordinates are convenient to you. Issuing <code>set lon</code> is equivalent to issuing <code>set x</code>, both set the <code>x</code> dimension. The difference is only the units you wish to use when entering the command. <p> 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. <p> <H3>Usage Notes</H3> <P> 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 <a href="variable.html">variable specification</a>. <P>If you are setting the T or E dimension using grid coordinates, the value given in <code><i>val1</i></code> or <code><i>val2</i></code> may be the word "last" to set the dimension to the max value of that grid coordinate. <p> <H3>Examples</H3><P> <code>set t 1</code> <br /> This sets time to the first time in the data set -- using grid coordinates. T is now a fixed dimension. <P><code>set z 1 4</code><br /> This sets the vertical dimension to vary between the first and the fourth levels in the data set -- using grid coordinates. Z is now a varying dimension. <P><code>set t 1 last</code><br /> This sets time to vary between the first and the last time in the data set -- using grid coordinates. T is now a varying dimension. <P><code>set e last </code> <br /> This sets the ensemble to the final member in the data set. E is now a fixed dimension.