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

5.1.8 Draw a horizontal line
Description

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

y

y position of the horizontal line

allowed:

float

Default:

xmin

Origin of the horizontal line

allowed:

float

Default:

0

xmax

Terminate of the horizontal line

allowed:

float

Default:

1

interactive

Interactively set origin and terminal of the line if True

allowed:

bool

Default:





Returns
Line2D 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