Draws a legend on the given workstation.
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" procedure gsn_legend_ndc ( wks  : graphic, nitems  : integer, labels [*] : integer, x  : numeric, y  : numeric, res  : logical )
The number of legend items you want.labels
An array of strings containing the legend labels.x
The X and Y coordinates of the upper left corner of the legend, which must be normalized device coordinates (NDC).res
A variable containing an optional list of legend 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 legend on the given workstation, given the number of items and labels for each item.
For some application examples see:legend examples.