[AstroPy] mollweide projection plotting (celestial sphere in Galactic coord) ?

Marshall Perrin mperrin at stsci.edu
Wed Jun 19 12:21:29 EDT 2013


On Jun 19, 2013, at 11:50 AM, Guillaume Blanc wrote:
> I'm looking in a python library to plot a mollweide projection of the celestial sphere with some points and lines between two points... I tried using healpy, but the projplot function doesn't work well, and the plotting options look limited (well, it's not the main goal of that library, actually). 
> 
> To try to be clearer, I'd like to plot some objects in a projection of the celestial sphere in galactic coordinates with the standard mollweide projection, and plot as well some "lines" such as the celestial equator and so on... 
> 
> I'm sure something exist somewhere to do that!


This can actually all be done in plain matplotlib, just by setting the 'projection' keyword when setting up the plot axes.  

See http://matplotlib.org/examples/pylab_examples/geo_demo.html


 - Marshall


More information about the AstroPy mailing list