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

5.1.8 Draw a horizontal rectangle
Description

Draw a horizontal rectangle. This is an interface for matplotlib.axes.Axes.axhspan 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

ymin

Bottom edge of the rectangle

allowed:

float

Default:

ymax

Top edge of the rectangle

allowed:

float

Default:

xmin

Left edge of the rectangle

allowed:

float

Default:

0

xmax

Right 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