PyNGL Home > Functions > PyNGL object routines

Ngl.draw

Draws an Ngl plot object.

Prototype

Ngl.draw(plot)

Arguments

plot

The identifier returned from calling any plot object creation function, like Ngl.xy, Ngl.contour, Ngl.vector_map, etc.

Return value

   None

Description

This procedure draws an Ngl plot object. Every time you call Ngl.draw, the object will be drawn on the same frame, unless you call Ngl.frame to advance the frame.

Note that most of the plotting functions, like Ngl.xy, Ngl.vector, Ngl.contour_map, etc, automatically call Ngl.draw for you, unless you set the special resource nglDraw to False.

See Also

Ngl.open_wks, Ngl.frame

Examples

For examples on how to use Ngl.draw, see ngl08p.py or ngl11p.py.