Hi all, I have a PNG image that I would like to mount on
> log-log axes. The points in the image correspond to computed
> values on a log-log scale, so no scaling of the image is
> required: I just want to stick it on top of suitably-marked
> axes. It would be great if I could then overlay some dot
> points as well.
> Is this possible with matplotlib? Can anyone give me some
> pointers on how to do it? Or a better tool for this?
I'm not sure from your post if the log scale applies to the implicit
xy coords of the pixels, or to the intensity of the pixels. I'm
assuming the former below (if it's the latter you probably want custom
normalize and colormap objects).
logarithmic xy pixel locations may be possible with a NonuniformImage.
Take a look at the following for example code
I'm not sure that this will work since I haven't tried it, but it's
the best bet as far as I can see.
See how far you can get with it and if you get stuck, post a code
example and CC Nicholas and we'll see if we can progress.