NRAO Home > CASA > CASA Toolkit Reference Manual
tableplot.iterplotstop - Function

3.2.2 Stop plot iterations.


Description

To be called at the end of the plot iterations, or in between if desired. Okay if ignored.

Arguments





Inputs

rmplotter

Indicates whether the plot window should be removed (true) from the display or left (false)

allowed:

bool

Default:

false

Returns
bool

Example

 
 
 # iterate through and stop after 5 iterations of 2 plots per page  
 
 tp.open(tabnames=[’3c273.ms’,’3c48.ms’])  
 plotopts = {’ncols’: 2, ’nrows’:1 }  
 labels = [’Amplitude vs UVdist (iterating over Antenna1)’,  
           ’uvdist’,’amplitude’]  
 xystr = [’SQRT(SUMSQUARE(UVW[1:2]))’,’AMPLITUDE(DATA[1,1])’]  
 iteraxes = [’ANTENNA1’]  
 tp.iterplotstart(poption=plotopts,labels=labels,  
                  datastr=xystr,iteraxes=iteraxes)  
 ret = tp.iterplotnext()  
 ret = tp.iterplotnext()  
 ret = tp.iterplotnext()  
 ret = tp.iterplotnext()  
 ret = tp.iterplotnext()  
 tp.iterplotstop()  
 

__________________________________________________________________


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