>>>>> "John" == John Pye <[EMAIL PROTECTED]> writes:
John> Hi all, I have a PNG image that I would like to mount on
John> log-log axes. The points in the image correspond to computed
John> values on a log-log scale, so no scaling of the image is
John> required: I just want to stick it on top of suitably-marked
John> axes. It would be great if I could then overlay some dot
John> points as well.
John> Is this possible with matplotlib? Can anyone give me some
John> 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
http://article.gmane.org/gmane.comp.python.matplotlib.general/4050
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.
JDH
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users