healpy.visufunc.projtext

healpy.visufunc.projtext(*args, **kwds)

Projtext is a wrapper around matplotlib.Axes.text() to take into account the spherical projection.

Parameters
theta, phifloat, array-like

Coordinates of point to plot. Can be put into one 2-d array, first line is then theta and second line is phi. See lonlat parameter for unit.

textstr

The text to be displayed.

lonlatbool, optional

If True, theta and phi are interpreted as longitude and latitude in degree, otherwise, as colatitude and longitude in radian

coord{‘E’, ‘G’, ‘C’, None}, optional

The coordinate system of the points, only used if the coordinate coordinate system of the axes has been defined and in this case, a rotation is performed

rotNone or sequence, optional

rotation to be applied =(lon, lat, psi) : lon, lat will be position of the new Z axis, and psi is rotation around this axis, all in degree. if None, no rotation is performed

directbool, optional

if True, the rotation to center the projection is not taken into account

See also

projplot, projscatter

Notes

Other keywords are passed to matplotlib.Axes.text().