set cmax
set cmax value
Contours not drawn above this value. Reset by clear or display.

set cmax value
Contours not drawn above this value. Reset by clear or display.
set cmark marktype
Set the style of the marker for line plots, or for the gxout option 'stnmark'. marktype may be one of the following:
set clskip number <spacing>
number is the number of contour lines to skip when labelling
spacing is an optional argument that controls the minimum distance between labels on a contour line (default = 2.5)
For example, set clskip 2 would label every other contour.
close file#
close the last descriptor file number for current file
set clopts color <thickness <size>>
set clip xlo xhi ylo yhi
This command sets the coordinates for clipping the plot area for display and draw commands. The four arguments xlo, xhi, ylo, yhi are the clipping coordinates in real page inches.
set clab option
Controls contour labeling. The option argument may be one of the following:
on 'fast' contour labels are plotted where the contour lines are horizontal
off no contour labels
forced an attempt is made to label all contour lines
format gives a C-language template for conversion of the contour value to a string
masked (version 2.0.a6+) contour lines have gaps for the labels, so rectangles for label background are not drawn; contour labels never overlap.
set cint value
Sets the contour interval to the specified value. Reset by clear or display.
set chunksize Xsize Ysize <Zsize> <Tsize> <Esize>
Xsize Size of the chunk in the X dimension. Default value is the grid size in X.
Ysize Size of the chunk in the Y dimension. Default value is the grid size in Y.
Zsize Size of the chunk in the Z dimension. Default value is 1.
Tsize Size of the chunk in the T dimension. Default value is 1.
Esize Size of the chunk in the E dimension. Default value is 1.
It is not necessary to specify the chunk size for the Z, T, or E dimensions if you wish to use the default values.
In version 2.0, with the introduction of the extra grid dimension for ensembles, support was also added for file templating over E. The sole substitution template is %e and the substitution string is the ensemble name, which is provided in the EDEF entry in the descriptor file. Note that the ensemble names are limited to 15 characters -- keep this limit in mind when designing your data directory structure and file naming conventions (or use symbolic links to create short aliases for longer filenames). If you are templating over the ensemble dimension, there can be only one ensemble member per file. If your data set has an ensemble dimension, and you are using templating over T but not E (i.e., there is no %e in the DSET entry), then all ensemble members are presumed to have identical time axes, and all members must be contained in the data file for a given time. Templating over T but not E is not supported for data sets in flat binary or GRIB1 formats.
cdiff(expr,dim)
Performs a centered difference operation on expr in the direction specified by dim. The difference is done in the grid space, and no adjustment is performed for unequally spaced grids. The result value at each grid point is the value at the grid point plus one minus the value at the grid point minus one. The dim argument specifies the dimension over which the difference is to be taken, and is a single character: X, Y, Z, or T.
Result values at the grid boundaries are set to missing.
This command sets the color of the plotted contours.
set ccolor rainbow | revrain
set ccolor color#
draw dropmenu number xpos ypos width height text_list
Draws a drop menu with the following attributes:
number menu number, 0 - 64
xpos x center of the menu base in page coordinates (inches)
ypos y center of the menu base in page coordinates (inches)
width width (x) of the menu base (inches)
height height (y) of the menu base (inches)
text_list the contents of the menu, seperated by vertical bars (|)
set cachesf num
The default cache scale factor is 1.
The 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:
q <option>
The 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:
set xyrev on|off
Reverses the axes on a plot.
set xsize x y
Resizes the window to x,y pixels.
This command controls the appearance of the tic labels on the X axis.
set xlint interval
Specifies the interval between labeled tick marks
on the X-axis.
set xlevs lev1 lev2 ... levN
Allows the user to specify each individual labeled tick mark for the X-axis.
set xlabs lab1 | lab2 | ...
label the x axis with lab1, lab2,
lab3,...
set xlab option
Controls the format of X-axis tick mark labels. The option argument may be one of the following:
draw xlab string
Writes string in an appropriate position to label x axis.
set xflip on|off
Flips the order of the horizontal axis (whatever axis is horizontal after xyrev is applied). Reset
by a clear or set
vpage command.
xdfopen filename
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
(SDF). The 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
way, 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 open command.
The few differences are noted below:
set xaxis start end <increment>
set ylpos offset side
Controls position of y axis labels
This command controls the appearance of the tic labels on the Y axis.
set ylint interval
Specifies the interval between labeled tick marks
on the Y-axis.
set ylevs lev1 lev2 ... levN
Allows the user to specify each individual labeled tick mark for the Y-axis.
set ylabs lab1 | lab2 | ...
label the y axis with lab1, lab2,
lab3,...
set ylab option
Controls the format of Y-axis tick mark labels. The option argument may be one of the following:
draw ylab string
Writes string in an appropriate position to label y axis.
set yflip on|off
flips the order of the vertical axis. Reset by a clear or set vpage command.
set yaxis start end <increment>
Specifies where the labeled tick marks will be placed on the
Y-axis. Labeled tick marks begin at the specified start value and end at the specified end value with the specified increment. Labeled tick marks may have no relation
to data or dimensions.
تعداد صفحات : 4