From: Arnd B. <arn...@we...> - 2004-12-21 10:55:29
|
Hi Eric, On Tue, 21 Dec 2004, Eric Emsellem wrote: > Hi again, > thanks a lot for the fixing and comments on figimage. This looks much > much better now. Indeed a local matplotlib user had also pointed > out to me the time it spent on cmap. > > By the way, the problem I have now is that I would like to have a quick > way of looking at my images (the 1600x1600) but being able to > size it INTO the actual opened window (so basically this calls for using > imshow > and not figimage). Just a few thoughts: - you could gain a speed-up by displaying a reduced image, e.g. by passing image_mat[::2,::2] which would correspond to a 800x800 image (but latest when zooming one would need the full image ;-(. - maybe you have to code the zooming youself in terms of figimage (In particular if you are still aiming at the 20000x20000 case) - Is it right that from imshow you would only need the """ extent is a data xmin, xmax, ymin, ymax for making image plots registered with data plots. Default is the image dimensions in pixels"""? Somehow I would guess that this should not be a part which is too slow, so maybe one could do something like this (without any interpolation) also for figimage. Not-more-than-0.5-cents-this-time-ly yours, Arnd |