On Thu, Jun 19, 2008 at 12:26 PM, Cormac Purcell
> 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.