Ngl.change_workstation
Changes the workstation that plots will be drawn to.
Prototype
Ngl.change_workstation(plot, wks)
Arguments
plotThe identifier returned from calling a plotting function (Ngl.xy, Ngl.contour_map etc).
wksThe identifier returned from calling Ngl.open_wks.
Return value
NoneDescription
This procedure changes the workstation (output device) that a PlotId's object will be drawn to. The first argument is a plot id and the second argument is a workstation id returned from a previous Ngl.open_wks call.
See Also
Ngl.open_wks, Ngl.frame, Ngl.clear_workstation, Ngl.update_workstation
Examples
For an example on changing the output device from an X11 window to an NCGM file, a PS workstation, and then a PDF workstation, see ngl08p.py.