NRAO Home > CASA > CASA Toolkit Reference Manual
msplot.clearplot - Function

1.3.3 Clear the plotting window or a particular panel, or all panels.


Description

Clear the plotting window. Either clear the whole window (default) or a particular panel (specified by the subplot parameter).

Arguments





Inputs

subplot

Three (or four) digits number: first digit for nrows, second for ncols, the rest for pannel number.

allowed:

int

Default:

000

Returns
bool

Example

 
# open a MS dataset, Plot the array on the left and uvcoverage on the  
# right.  
# Also set the X and Y axes labels, and the title,  
mp.open( msname=’ngc5921.ms’);  
mp.plotoptions( subplot=121 )  
mp.array()  
mp.plotoptions( subplot=122 )  
mp.uvcoverage()  
 
# Now clear the uvcoverage plot area and plot the uvdist instead.  
mp.clearplot( subplot=122 )  
mp.uvdist()  
 
# Now clear all plots  
mp.clearplot()  

__________________________________________________________________


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