set gxout graphics_type
Where graphics_type
can be one of the following:
bar
Bar chart (The library contains an example script demonstrating how to use gxout bar and errbar)barb
Wind barbs contour
Contour ploterrbar
Error bars (The library contains an example script demonstrating how to use gxout bar and errbar)geotiff
(2.0.a5+) Generates a GeoTIFF format data file; options specified by set geotiff
grfill
Shaded grid boxesfgrid
Shaded grid boxes with values specified by
set fgvals
fwrite
Writes data to file instead of drawing a plot; options specified by set fwrite
grid
Grid boxes with printed valuesimap
(2.0.a8+) Quickly drawn shaded grid boxes. No metafile, so no hard copy; image output only with outxwd
.kml
(2.0.a5+) Generates a TIFF image file and a KML text file; options specified by set kml
line
Line Graph linefill
Color fill between two lines print
Generates ascii output for anything displayed; controlled by
set prnopts
scatter
Generates a scatter diagram. Requires two grid expressions as arguments, separated by a semicolon. See Usage Note #2 below.shaded
Shaded contour plot, alias for original algorithm (shade1)shade1
(2.0.0+) Shaded contour plot, original algorithmshade2
(2.0.0+) Shaded contour plot, new algorithm, polygons merged to be larger and fewer in number (faster to render)shade2b
(2.0.0+) Shaded contour plot, new algorithm, polygons all on sub-grid scale (slower to render)shp
(2.0.a9+) Generates a shapefile; options specified by set shp
stream
Wind streamlines stat
Prints statistical output to terminal instead of drawing a plotvector
Wind vector arrowsFor station data, these additional graphics output types are also available:
findstn
Finds nearest stationmodel
Plots station modelstnmark
Plots a mark at station location that is colorized by data valuetserbarb
Time series of wind barbs at a point (1-D)tserwx
Time series of weather symbols at a point (1-D)value
Plots station valueswxsym
Plots weather symbols at station, controlled by
set wxopt
vector, stream,
and barb
,
the plotting routines need two result grids, where the first result grid is
treated as the U component, and the second result grid is treated as the V
component. These two result grids are provided with the display
command by entering two expressions separated by a semicolon:
display u ; v
display ave(u,t=1,t=10) ; ave(v,t=1,t=10)
vector
and stream
,
you can specify a third grid expression that will be used to colorize the vectors
or streamlines:
display u ; v ; mag(u,v)
display u ; v ; hcurl(u,v)
scatter
will also take a third grid expression to colorize the points in the scatter diagrm.
display const(u,0); u ; v
wxsym
, each value at a station
location is assumed to be a wx symbol code number. To see a chart of all available
wx symbols and their corresponding code numbers, run the sample script wxsym.gs
.
findstn
requires three arguments to
be provided with the display
command. The first argument
is a station data expression. The 2nd and 3rd arguments are the X and Y screen
coordinates of the of the desired search location. GrADS will find the station
closest to the specified X and Y position, and print its stid, lon, and lat.
This graphics output type should only be used when X and Y are the varying
dimensions and AFTER a regular display command (that results in graphics output)
is entered.
stnmark
, the size and style of
the mark are controled by set digsiz
and set cmark
. To turn off
rainbow colorizing and use a single color instead, use set
ccolor color#
.