Draws a blank plot with tickmarks pointing inward.
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" function gsn_blank_plot ( wks  : graphic, res  : logical ) return_val  : graphic
A variable containing an optional list of plot resources, attached as attributes. Set to True if you want the attached attributes to be applied, and False if you either don't have any resources to set, or you don't want the resources applied.
A scalar id of the plot created is returned. This is useful if you want to use setvalues to change some plot options after this function has been called.
You can also set any of the Tickmark resources to control their appearance.
This function is useful for several purposes:
- If you need to create additional tickmarks for a plot (see example
24 on the maps only
example page or example 11 on
the tickmarks page).
- If you need a blank canvas just for drawing primitives (polylines,
- If you need to force an X or Y axis to have irregular spacing,
then as of version 6.0.0, you
can use this function and
to an array of unequally-spaced values, and then overlay your existing
plot on the blank plot to force your axis to be transformed to one
with irregular-spacing (see example 30 on
the XY plot page).
For some application examples, see:
Here's a simple example that creates a default "blank" plot.
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" begin wks = gsn_open_wks("x11","blank") res = True res@gsnMaximize = True res@gsnFrame = True ; The frame is not advanced by default. plot = gsn_blank_plot(wks,res) end