From: Perry G. <pe...@st...> - 2004-05-04 14:45:10
|
John Hunter wrote: > > Humufr> There are something I did't see in the list (but perhaps > Humufr> it's possible to do now) and that I think will be useful > Humufr> for astronomer. it's to plot an image with axes in > Humufr> astronomical unit (RA and Dec) > > Humufr> like this function in pgplot: > > Humufr> > http://www.astro.caltech.edu/~tjp/pgplot/subroutines.html#PGTBOX > > Humufr> thanks for this software who are very good, > > The new ticker code was designed to support exactly this kind of > application. The documentation > http://matplotlib.sourceforge.net/matplotlib.ticker.html details this > process. That code defines a lot of preset tick locators and > formatters but was primarily designed to be user extensible. > > Since I'm not an astronomer, I'm probably not the best person to write > this, but it would be fairly easy to subclass > matplotlib.ticker.Locator and matplotlib.ticker.Formatter to provide > exactly this functionality. > We are astronomers and we do intend to write tools to allow this. We haven't done this yet but it is fairly high on our list of things to do. I didn't think that such a specialized thing was needed on the generalized goals. You are welcome to write one if you need it sooner of course. Perry Greenfield |