On Thu, Jun 19, 2008 at 12:26 PM, Cormac Purcell
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I need to find a way to apply a offset and scaling factor to the X and Y
> axes on an image plot. Instead of showing the pixel number I would like
> to transform the axes to 'world' coordinates, in this case degrees of
> Right-ascension and Declination in an astronomical image. The
> transformation is defined on both axes via an offset and a scaling factor.

I believe you are looking for the "extent" argument to imshow, which
will handle a linear scaling and offset.

JDH

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to