<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--> <html> <head> <title>GrADS Commands</title> </head> <body bgcolor="e0f0ff" text="#000000"> <center><h3>GrADS Commands Sorted by Attribute</h3></center> <p><font size=+1>Animation</font> <br><code><a href="gradcomdsetloopdim.html">set loopdim</a> </code> Sets dimension to animate <br><code><a href="gradcomdsetloopincr.html">set loopincr</a> </code> Sets looping increment <br><code><a href="gradcomdsetlooping.html">set looping</a> </code> Turns on animation when fewer than three dimesions are varying <br><code><a href="gradcomdsetdbuff.html">set dbuff</a> </code> Turns on/off double buffer mode <br><code><a href="gradcomdswap.html">swap</a> </code> Swaps buffers when in double buffer mode <p><font size=+1>Axis Labeling</font> <br><code><a href="gradcomddrawxlab.html">draw xlab</a> </code> Draws an X-axis label <br><code><a href="gradcomddrawylab.html">draw ylab</a> </code> Draws a Y-axis label <br><code><a href="gradcomdsetvrange.html">set vrange</a> </code> Sets the range of values for Y-axis scaling <br><code><a href="gradcomdsetvrange2.html">set vrange2</a> </code> Sets the range of values for X-axis scaling <br><code><a href="gradcomdsetxaxis.html">set xaxis</a> </code> Specifies where the labeled tick marks will be placed on the X-axis <br><code><a href="gradcomdsetxflip.html">set xflip</a> </code> Flips the order of the horizontal axis <br><code><a href="gradcomdsetxlab.html">set xlab</a> </code> Controls the format of X-axis tick mark labels <br><code><a href="gradcomdsetxlabs.html">set xlabs</a> </code> Gives specific text for X-axis labels <br><code><a href="gradcomdsetxlevs.html">set xlevs</a> </code> Specifies each individual labeled tick mark for the X-axis <br><code><a href="gradcomdsetxlint.html">set xlint</a> </code> Specifies the interval between labeled tick marks on the X-axis <br><code><a href="gradcomdsetxlopts.html">set xlopts</a> </code> Controls X-axis label options <br><code><a href="gradcomdsetxlpos.html">set xlpos</a> </code> Controls position of X-axis labels <br><code><a href="gradcomdsetxyrev.html">set xyrev</a> </code> Reverses the X and Y axes on a plot <br><code><a href="gradcomdsetyaxis.html">set yaxis</a> </code> Specifies where the labeled tick marks will be placed on the Y-axis <br><code><a href="gradcomdsetyflip.html">set yflip</a> </code> Flips the order of the vertical axis <br><code><a href="gradcomdsetylab.html">set ylab</a> </code> Controls the format of Y-axis tick mark labels <br><code><a href="gradcomdsetylabs.html">set ylabs</a> </code> Gives specific text for Y-axis labels <br><code><a href="gradcomdsetylevs.html">set ylevs</a> </code> Specifies each individual labeled tick mark for the Y-axis <br><code><a href="gradcomdsetylint.html">set ylint</a> </code> Specifies the interval between labeled tick marks on the Y-axis <br><code><a href="gradcomdsetylopts.html">set ylopts</a> </code> Controls Y-axis label options <br><code><a href="gradcomdsetylpos.html">set ylpos</a> </code> Controls position of Y-axis labels <br><code><a href="gradcomdsetzlog.html">set zlog</a> </code> Sets log scaling of the Z dimension <p><font size=+1>Bar Graphs</font> <br><code><a href="gradcomdsetbarbase.html">set barbase</a> </code> Sets the reference point for bar graphs <br><code><a href="gradcomdsetbargap.html">set bargap</a> </code> Sets the gap between bars for bar graphs <br><code><a href="gradcomdsetbaropts.html">set baropts</a> </code> Sets characteristics of bars for bar graphs <br><code><a href="gradcomdsetgxout.html">set gxout bar</a> </code> Graphics output type for bar graphs <br><code><a href="gradcomdsetgxout.html">set gxout errbar</a> </code> Graphics output type to show error bars <p><font size=+1>Color Control</font> <br><code><a href="gradcomdsetfgvals.html">set fgvals</a> </code> Assigns a color to a particular value; used with <code>set gxout fgrid</code> <br><code><a href="gradcomdsetlfcols.html">set lfcols</a> </code> <br><code><a href="gradcomdsetrbcols.html">set rbcols</a> </code> Specifies a new rainbow color sequence <br><code><a href="gradcomdsetrbrange.html">set rbrange</a> </code> Assigns a range of values to rainbow colors <br><code><a href="gradcomdsetrgb.html">set rgb</a> </code> Defines a new color <br><code><a href="gradcomdsetwxcols.html">set wxcols</a> </code> Controls color of weather symbols <p><font size=+1>Contour Settings</font> <br><code><a href="gradcomdsetannot.html">set annot</a> </code> Sets the color and thickness for the axis border, axis labels, and tickmarks. <br><code><a href="gradcomdsetblack.html">set black</a> </code> Specifies a range of values for which no contours will be drawn <br><code><a href="gradcomdsetccolor.html">set ccolor</a> </code> Specifies the color of the plotted contours <br><code><a href="gradcomdsetccols.html">set ccols</a> </code> Assigns specific colors for each contour level <br><code><a href="gradcomdsetcint.html">set cint</a> </code> Sets the contour interval <br><code><a href="gradcomdsetclab.html">set clab</a> </code> Controls contour labels <br><code><a href="gradcomdsetclevs.html">set clevs</a> </code> Sets specific contour levels <br><code><a href="gradcomdsetclopts.html">set clopts</a> </code> Contour label options <br><code><a href="gradcomdsetclskip.html">set clskip</a> </code> Sets the number of contour lines to skip when labelling <br><code><a href="gradcomdsetcmax.html">set cmax</a> </code> Contours not drawn above this value <br><code><a href="gradcomdsetcmin.html">set cmin</a> </code> Contours not drawn below this value <br><code><a href="gradcomdsetcsmooth.html">set csmooth</a> </code> Interpolates the grid to a finer resolution before contouring <br><code><a href="gradcomdsetcstyle.html">set cstyle</a> </code> Sets the contour line style <br><code><a href="gradcomdsetcterp.html">set cterp</a> </code> Turns on/off spline smoothing <br><code><a href="gradcomdsetcthick.html">set cthick</a> </code> Sets contour line thickness <p><font size=+1>Display Controls</font> <br><code><a href="gradcomdclear.html">clear</a> </code> Clears the display window and resets many graphics options <br><code><a href="gradcomddisplay.html">display</a> </code> Draws a plot <br><code><a href="gradcomdreset.html">reset</a> </code> Returns GrADS settings to default state with some exceptions <br><code><a href="gradcomdsetbackground.html">set background</a> </code> Sets background color <br><code><a href="gradcomdsetclip.html">set clip</a> </code> Sets the coordinates for clipping the plot area <br><code><a href="gradcomdsetcmark.html">set cmark</a> </code> Sets the type of line marker <br><code><a href="gradcomdsetdisplay.html">set display</a> </code> Sets the mode of display <br><code><a href="gradcomdsetframe.html">set frame</a> </code> Draws a frame around plot borders <br><code><a href="gradcomdsetgridln.html">set gridln</a> </code> Controls appearance of grid lines; used with <code>set gxout grid</code> <br><code><a href="gradcomdsetgxout.html">set gxout</a> </code> Sets a graphics output type <br><code><a href="gradcomdsetline.html">set line</a> </code> Sets line attributes <br><code><a href="gradcomdsetmissconn.html">set missconn</a> </code> Connects plots lines over missing data <br><code><a href="gradcomdsetparea.html">set parea</a> </code> Specifies the area for plotting contour plots, maps, or line graphs <br><code><a href="gradcomdsetvpage.html">set vpage</a> </code> Sets dimensions of the virtual page <br><code><a href="gradcomdsetxsize.html">set xsize</a> </code> Resizes the graphics display window <p><font size=+1>Data and Image Output</font><br> <br><code><a href="gradcomddisablefwrite.html">disable fwrite</a> </code> Closes output file containing gridded data <br><code><a href="gradcomddisableprint.html">disable print</a> </code> Closes output file containing images in metacode format <br><code><a href="gradcomdenableprint.html">enable print</a> </code> Opens output file containing images in metacode format <br><code><a href="gradutilgxeps.html">gxeps</a> </code> Converts GrADS metacode format image files into postscript <br><code><a href="gradutilgxps.html">gxps</a> </code> Converts GrADS metacode format image files into postscript <br><code><a href="gradutilgxtran.html">gxtran</a> </code> Displays GrADS metacode format image files <br><code><a href="gradcomdoutxwd.html">outxwd</a> </code> Copies the contents of the display window into a file in XWD format <br><code><a href="gradcomdprint.html">print</a> </code> Copies the contents of display window to a file in a metacode format <br><code><a href="gradcomdprintim.html">printim</a> </code> Copies the contents of display window to a file in PNG or GIF format <br><code><a href="gradcomdsetfwrite.html">set fwrite</a> </code> Sets filename, byte ordering, and format for data output <br><code><a href="gradcomdsetgxout.html">set gxout fwrite</a> </code> Graphics output type for writing data to file <br><code><a href="gradcomdwi.html">wi</a> </code> Dumps the contents of the display window into a file in a variety of formats <p><font size=+1><a name="setdimension"></a>Dimension Environment</font> <br><code><a href="gradcomdsetxyzte.html">set x</a> </code> Specifies the X-dimension in grid coordinates <br><code><a href="gradcomdsetxyzte.html">set y</a> </code> Specifies the Y-dimension in grid coordinates <br><code><a href="gradcomdsetxyzte.html">set z</a> </code> Specifies the Z-dimension in grid coordinates <br><code><a href="gradcomdsetxyzte.html">set t</a> </code> Specifies the T-dimension in grid coordinates <br><code><a href="gradcomdsetxyzte.html">set e</a> </code> Specifies the E-dimension in grid coordinates <br><code><a href="gradcomdsetlatlonlevtimeens.html">set lon</a> </code> Specifies the X-dimension in world coordinates <br><code><a href="gradcomdsetlatlonlevtimeens.html">set lat</a> </code> Specifies the Y-dimension in world coordinates <br><code><a href="gradcomdsetlatlonlevtimeens.html">set lev</a> </code> Specifies the Z-dimension in world coordinates <br><code><a href="gradcomdsetlatlonlevtimeens.html">set time</a> </code> Specifies the T-dimension in world coordinates <br><code><a href="gradcomdsetlatlonlevtimeens.html">set ens</a> </code> Specifies the E-dimension in world coordinates <p><font size=+1>File I/O</font> <br><code><a href="gradcomdclose.html">close</a> </code> Closes a GrADS data file <br><code><a href="gradcomdopen.html">open</a> </code> Opens a GrADS data file <br><code><a href="gradcomdreinit.html">reinit</a> </code> Returns GrADS to its initial state <br><code><a href="gradcomdexec.html">exec</a> </code> Executes the list of GrADS commands contained in a file <br><code><a href="gradcomdrun.html">run</a> </code> Runs a GrADS script <br><code><a href="gradcomdsdfopen.html">sdfopen</a> </code> Opens a NetCDF of HDF-SDS file that conforms to the COARDS conventions <br><code><a href="gradcomdxdfopen.html">xdfopen</a> </code> Opens a NetCDF of HDF-SDS file that does not conform to the COARDS conventions <br><code><a href="gradcomdsetdfile.html">set dfile</a> </code> Changes default file <br><code><a href="gradcomdsetimprun.html">set imprun</a> </code> Sets up automatic script execution before every display command <p><font size=+1>GrADS-User Interface</font> <br><code><a href="gradcomdgrads.html">grads</a> </code> Starts the GrADS program <br><code><a href="gradcomdhelp.html">help</a> </code> Lists a few basic GrADS commands <br><code><a href="gradcomdquery.html">query</a> </code> Returns information about a variety of aspects of the current GrADS session <br><code><a href="gradcomdquit.html">quit</a> </code> Quits GrADS <br><code><a href="gradcomdsetdatawarn.html">set datawarn</a> </code> Prints "Entire Grid Undefined" in display window if all data are missing <br><code><a href="gradcomdsetstat.html">set stat</a> </code> Turns on/off printing of statistical information for each display <br><code><a href="gradcomdsetwarn.html">set warn</a> </code> Turns on/off messages about the progress of certain mathematical operations <br><code><a href="gradcomdshell.html">!shell</a> </code> Sends a command to the shell <p><font size=+1>Graphical Elements</font> <br><code><a href="gradcomddrawline.html">draw line</a> </code> Draws a line <br><code><a href="gradcomddrawmark.html">draw mark</a> </code> Draws a mark <br><code><a href="gradcomddrawpolyf.html">draw polyf</a> </code> Draws a filled polygon <br><code><a href="gradcomddrawrec.html">draw rec</a> </code> Draws a rectangle <br><code><a href="gradcomddrawrecf.html">draw recf</a> </code> Draws a filled rectangle <br><code><a href="gradcomddrawwxsym.html">draw wxsym</a> </code> Draws a weather symbol <p><font size=+1>GRIB Utilities</font> <br><code><a href="gradutilgribmap.html">gribmap</a> </code> Creates a map of data sets in GRIB format <br><code><a href="gradutilgribscan.html">gribscan</a> </code> Extracts grid info from data sets in GRIB format <p><font size=+1>Map Settings</font> <br><code><a href="gradcomddrawmap.html">draw map</a> </code> Draws a map outline <br><code><a href="gradcomdsetgrid.html">set grid</a> </code> Sets characteristics of displayed grid lines <br><code><a href="gradcomdsetmap.html">set map</a> </code> Sets map background characteristics <br><code><a href="gradcomdsetmpdraw.html">set mpdraw</a> </code> Turns on/off drawing of map background <br><code><a href="gradcomdsetmpdset.html">set mpdset</a> </code> Sets the resolution of the coastal outline <br><code><a href="gradcomdsetmproj.html">set mproj</a> </code> Sets current map projection <br><code><a href="gradcomdsetmpt.html">set mpt</a> </code> Controls map background characteristics <br><code><a href="gradcomdsetmpvals.html">set mpvals</a> </code> Sets reference longitudes and latitudes for polar stereographic plots <br><code><a href="gradcomdsetpoli.html">set poli</a> </code> Turns on/off the drawing of political boundaries <p><font size=+1>Plot Annotation and Labeling</font> <br><code><a href="gradcomddrawstring.html">draw string</a> </code> Draws a string anywhere on the page <br><code><a href="gradcomddrawtitle.html">draw title</a> </code> Draws a title centered over a plot <br><code><a href="gradcomdsetdignum.html">set dignum</a> </code> Sets the number of significant digits after the decimal point <br><code><a href="gradcomdsetdigsize.html">set digsiz</a> </code> Sets the size of plotted numbers <br><code><a href="gradcomdsetfont.html">set font</a> </code> Selects the font for text display <br><code><a href="gradcomdsetgrads.html">set grads</a> </code> Turns on/off the GrADS logo in each plot <br><code><a href="gradcomdsetstring.html">set string</a> </code> Sets string drawing attributes <br><code><a href="gradcomdsetstrsiz.html">set strsiz</a> </code> Sets the string character size <br><code><a href="gradcomdsettimelab.html">set timelab</a> </code> Turns on/off display of the time label <br><code><a href="gradcomdsettlsupp.html">set tlsupp</a> </code> Suppresses the annotation of the year and/or month in date/time labels <p><font size=+1>Station Data</font> <br><code><a href="gradcomdcollect.html">collect</a> </code> Saves station data in memory as a set <br><code><a href="gradcomdsetmdlopts.html">set mdlopts</a> </code> <br><code><a href="gradcomdsetwxopt.html">set wxopt</a> </code> Controls weather symbol output; used with <code>set gxout wxsym</code> <br><code><a href="gradcomdsetstid.html">set stid</a> </code> Turns on/off display of the station ID next to the data values <br><code><a href="gradcomdsetstnprint.html">set stnprint</a> </code> Controls printing of station data values; used with <code>set gxout stat</code> <br><code><a href="gradutilstnmap.html">stnmap</a> </code> Writes out a hash table and/or link list information for station data <p><font size=+1>Variables</font> <br><code><a href="gradcomddefine.html">define</a> </code> Creates a new GrADS variable that is loaded into memory <br><code><a href="gradcomdmodify.html">modify</a> </code> Defines a climatological variable <br><code><a href="gradcomdsetdefval.html">set defval</a> </code> Interactively modifies grid point values for 2-D defined variables <br><code><a href="gradcomdundefine.html">undefine</a> </code> Frees the memory used by a defined variable <p><font size=+1>Vectors</font> <br><code><a href="gradcomdsetarrlab.html">set arrlab</a> </code> Toggles drawing the vector arrow label <br><code><a href="gradcomdsetarrowhead.html">set arrowhead</a> </code> Sets the size of the vector arrowhead <br><code><a href="gradcomdsetarrscl.html">set arrscl</a> </code> Specifies arrow length scaling <br><code><a href="gradcomdsetgxout.html">set gxout vector</a> </code> Graphics output type for vector plots <br><code><a href="gradcomdsethempref.html">set hempref</a> </code> Controls wind barb drawing conventions <br><code><a href="gradcomdsetstrmden.html">set strmden</a> </code> Sets density of streamlines; used with <code>set gxout stream</code> <p><font size=+1>Widgets</font> <br><code><a href="gradcomddrawbutton.html">draw button</a> </code> Draws a button widget <br><code><a href="gradcomdredrawbutton.html">redraw button</a> </code> Resets a button widget on/off <br><code><a href="gradcomddrawdropmenu.html">draw dropmenu</a> </code> Draws a dropmenu widget <br><code><a href="gradcomdsetbutton.html">set button</a> </code> Specifies the color characteristics of a button widget <br><code><a href="gradcomdsetdialog.html">set dialog</a> </code> Sets color properties of dialog box widgets <br><code><a href="gradcomdsetdropmenu.html">set dropmenu</a> </code> Sets color properties of dropmenu widgets <br><code><a href="gradcomdsetrband.html">set rband</a> </code> Sets characteristics for the 'rubber band' widget </body> </html>