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

5.1.8 Annotate text at specified location
Description

Annotate text at specified location. This is an interface for matplotlib.axes.Axes.annotate 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

text

Annotate text

allowed:

string

Default:

xy

Position of the annotation

allowed:

float array

Default:

xytext

Position of the text

allowed:

float array

Default:

None (use xy value)

xycoords

Coordinate of xy

allowed:

string

Default:

’data’

textcoords

Coordinate of xytext

allowed:

string

Default:

’data’

arrowprops

Line properties for the arrow

allowed:

dictionary

Default:

None

interactive

Interactively set text position if True

allowed:

bool

Default:





Returns

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