NRAO Home > CASA > CASA Toolkit Reference Manual
sd.plotter.save - Function

5.1.8 Save the plot to a file
Description

Save the plot to a file. The known formats are ’png’, ’ps’, ’eps’.

If filename have suffix, the image format will be automatically detected. If no filename is specified a file called ’yyyymmdd_hhmmss.png’ is created in the current directory.

The orientation argument is an optional parameter for postscript only (not eps). ’landscape’, ’portrait’ or None (default) are valid. If None is choosen for ’ps’ output, the plot is automatically oriented to fill the page.

Arguments





Inputs

filename

The name of the output file

allowed:

bool

Default:

True

orientation

Optional parameter for postscript that specifies orientation of the plot

allowed:

string (’landscape’ or ’portrait’)

Default:

None

dpi

The dpi of the output non-postscript plot

allowed:

integer

Default:

False (150 dpi)





Returns

Example


More information about CASA may be found at the CASA web page

Copyright © 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search