|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
3.3.2.13 Printing from plotxy
There are two ways to get hardcopy plots in plotxy.
The first is to use the “disk save” icon from the interactive plot GUI to print the current plot. This will bring up a sub-menu GUI that will allow you to choose the filename and format. The allowed formats are .png (PNG), .eps (EPS), and svg (SVG). If you give the filename with a suffix (.png, .eps, or svg) it will make a plot of that type. Otherwise it will put a suffix on depending on the format chosen from the menu.
ALERT: The plot files produced by the EPS option can be large, and the SVG files can be very large. The PNG is the smallest.
The second is to specify a figfile. You probably want to disable the GUI using interactive=False in this case. The type of plot file that is made will depend upon the filename suffix. The allowed choices are .png (PNG), .eps (EPS), and svg (SVG).
This latter option is most useful from scripts. For example,
vis = ’ngc5921.ms’
field = ’2’
spw = ’’
xaxis = ’uvdist’
yaxis = ’amp’
interactive=False
figfile = ’ngc5921.uvplot.amp.png’
plotxy()
will plot amplitude versus uv-distance in PNG format. No plotxy GUI will appear.
ALERT: if you use this option to print to figfile with an iteration set, you will only get the first plot.
More information about CASA may be found at the
CASA web page
Copyright © 2010 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