Ngl.maximize_plot
Maximizes the size of the given plot on the workstation.
Prototype
Ngl.maximize_plot(wks, plotid, res=None)
Arguments
wksThe identifier returned from calling Ngl.open_wks.
plotidThe identifier returned from calling any graphics routine like Ngl.xy or Ngl.contour_map.
res=NoneAn (optional) instance of the Resources class having PyNGL resources as attributes.
Return value
NoneDescription
This procedure takes the given plot and maximizes its size in the given workstation. This is useful if you created a plot, and then attached other plots or objects to it via Ngl.add_annotation that might have caused the plot to grow in size.
The optional variable res allows you to set some special nglPaperXXX resources, like nglPaperOrientation.
See Also
Special resources nglPaperOrientation, nglPaperHeight, nglPaperWidth,
Examples
See overlay1.py.