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

5.1.8 Draw a vertical rectangle
Description

Draw a vertical rectangle. This is an interface for matplotlib.axes.Axes.axvspan function.

The interactive argument is specific to this method (not available from matplotlib). If it is True, you can set positions interactively using GUI panel.

Arguments

See matplotlib help about detailed description of arguments.





Inputs

xmin

Left edge of the rectangle

allowed:

float

Default:

xmax

Right edge of the rectangle

allowed:

float

Default:

ymin

Bottom edge of the rectangle

allowed:

float

Default:

0

ymax

Top edge of the rectangle

allowed:

float

Default:

1

interactive

Interactively set the shape of the rectangle if True

allowed:

bool

Default:





Returns
Polygon object

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