[AstroPy] Oblique rectangles in APLpy
Thomas Robitaille
thomas.robitaille at gmail.com
Mon May 30 12:57:20 EDT 2011
Hi Jean-Baptiste,
The easiest way to do this would be to figure out the coordinates of the corners of the rectangles in Galactic coordinates, and use show_polygons to plot them. Note that you can use the fk52gal function in aplpy.wcs_util to facilitate the conversion from J2000 to Galactic coordinates. Let me know if this does not work!
Cheers,
Tom
On Monday, May 30, 2011 at 6:51 AM, Marquette Jean-Baptiste wrote:
> Dear APLpy gurus,
>
> I have observational rectangle fields with J2000 coordinates I would
> like to plot on images in galactic coordinates. But the
> show_rectangles routine doesn't allow to plot those rectangles
> obliquely.
> Any hint welcome.
>
> Cheers
> Jean-Baptiste Marquette
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org (mailto:AstroPy at scipy.org)
> http://mail.scipy.org/mailman/listinfo/astropy
More information about the AstroPy
mailing list