Ngl.draw_ndc_grid
Draws and labels grid lines at 0.1 NDC intervals.
Available in version 1.2.0 or later.
Prototype
Ngl.draw_ndc_grid(wks)
Arguments
wksThe identifier returned from calling Ngl.open_wks.
Return value
NoneDescription
This procedure draws light gray vertical and horizontal lines at 0.11 NDC intervals and labels them. The frame is not advanced in this procedure. This is useful for debugging purposes if you need a guide for drawing polymarkers, lines, polygons, and text using NDC coordinates.
See Also
Ngl.draw_colormap, Ngl.open_wks, Ngl.draw, Ngl.frame, Ngl.draw_ndc_grid
Examples
For a simple example of using Ngl.draw_ndc_grid run the following Python script:
import Ngl wks = Ngl.open_wks("x11","example") Ngl.draw_ndc_grid(wks) Ngl.frame(wks) Ngl.end()