set gxout graphics_type
Where graphics_type
can be one of the following:
bar
Bar chart barb
Wind barbs contour
Contour ploterrbar
Error barsgrfill
Shaded grid boxesfgrid
Shaded grid boxes with values specified by
set fgvals
fwrite
Writes data to file instead of drawing a plotgrid
Grid boxes with printed valuesline
Line Graph linefill
Color fill between two lines print
Generates ascii output for anything displayed; controlled by
set prnopts
scatter
Scatter plotshaded
Shaded contour plotstream
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 tation 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 result grid that will be used to colorize the vectors
or streamlines:
display u ; v ; mag(u,v)
display u ; v ; hcurl(u,v)
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#.