healpy.newvisufunc.newprojplot

healpy.newvisufunc.newprojplot(theta, phi, fmt=None, **kwargs)

newprojplot is a wrapper around matplotlib.Axes.plot() to support colatitude theta and longitude phi and take into account the longitude convention (see the flip keyword of projview())

You can call this function as:

newprojplot(theta, phi)        # plot a line going through points at coord (theta, phi)
newprojplot(theta, phi, 'bo')  # plot 'o' in blue at coord (theta, phi)
Parameters:
theta, phifloat, array-like

Coordinates of point to plot in radians.

fmtstr

A format string (see matplotlib.Axes.plot() for details)

Notes

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