set xflip on|off
'set lat 20 45'
'set lon 40 60'
'set xflip on'
' display u,v'
Rotate the axis on the map
set xyrev on|off
Reverses the axes on a plot.
By default for a Z, T plot, the time dimension is plotted horizontally, and the Z dimension is plotted vertically. By setting
xyrev, the time dimension would be plotted vertically and the Z dimension would be plotted horizontally. Reset by a
set vpage command.
query command allows the user
to get information about a variety of aspects of the current grads session.
Configuration, plot characteristics, graphics specifics, and file structure
are some examples. The use of
query pos combined with
the coordinate transformations is the basis of many interactive applications
with buttons and drop menus. The
query command may
be shortened to simply
q. The syntax is:
grads requires a certain amount of metadata in order to understand how
to read a NetCDF/HDF-SDS data file, also called a self-describing file
sdfopen command assumes all the metadata is internal to the self-describing
file, whereas the
xdfopen command allows the user to supplement
or replace any internal metadata via a data descriptor file. In this
xdfopen provides access to some self-describing files
that do not comply with the COARDS conventions.
filename is the name of the data descriptor file that
contains the supplemental metadata. It has a syntax very similar to
the regular data descriptor files that are used with the
The few differences are noted below:
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.