Draws a labelbar on the given workstation.
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" procedure gsn_labelbar_ndc ( wks  : graphic, nboxes  : integer, labels [*] : string, x  : numeric, y  : numeric, res  : logical )
The number of labelbar boxes you want.labels
An array of strings containing the labelbar labels.x
The X and Y coordinates of the upper left corner of the labelbar, which must be normalized device coordinates (NDC).res
A variable containing an optional list of labelbar 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.
This procedure draws a labelbar on the given workstation, given the number of boxes and labels for each item. It is possible to have a different number of labels than you do boxes, depending on how you label the boxes (by the box centers, box exterior edges, or box interior edges).
This procedure is similar to the function gsn_create_labelbar, except it doesn't return the labelbar id. The labelbar id can be useful if you want to use gsn_add_annotation to attach the labelbar to a plot.
For some application examples see:labelbar examples.