[AstroPy] how to make a sky plot

Leo Singer lsinger at caltech.edu
Wed Apr 2 13:24:48 EDT 2014


Hi,

This is in just plain Matplotlib, but I have an axes subclass called AstroMollweideAxes that has RA running from 0h to 24h from right to left:

http://www.lsc-group.phys.uwm.edu/cgit/lalsuite/tree/lalinference/python/bayestar/plot.py

Cheers,
Leo

On Apr 2, 2014, at 6:55 AM, "gonghang.naoc" <ghang.naoc at gmail.com> wrote:

> Hi everybody,
> I made an all sky map  following the standard procedure here
> http://matplotlib.org/examples/pylab_examples/geo_demo.html .
> 
> However, I can not adjust the data range. It is always -180 to 180 and I do not know what does [-180,180] means.
> And I can not rotate the map.  As you can see, the middle is always zero. 
> Besides, I can not define a range which could let me plot a part sky map.
> 
> Anybody knows a convenient way via EPD or Mayavi?
> 
> Thanks.
> hang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20140402/e5138f2f/attachment.html>


More information about the AstroPy mailing list