Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-25 Thread Sergi Pons Freixes
> It seems that setting `interpolation='none'` is significantly slower than > setting it to 'nearest' (or even 'bilinear'). On supported backends (e.g. > any Agg backend) the code paths for 'none' and 'nearest' are different: > 'nearest' gets passed to Agg's interpolation routine, whereas 'none' do

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-24 Thread Tony Yu
On Thu, May 24, 2012 at 9:14 AM, Sergi Pons Freixes wrote: > On Wed, May 23, 2012 at 6:27 PM, Tony Yu wrote: > > > > I'm not sure what you mean by "normalize the values to an appropriate > number > > of bits", but I don't think setting `vmin` or `vmax` will change the data > > type of the image.

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-24 Thread Sergi Pons Freixes
On Wed, May 23, 2012 at 6:27 PM, Tony Yu wrote: > > I'm not sure what you mean by "normalize the values to an appropriate number > of bits", but I don't think setting `vmin` or `vmax` will change the data > type of the image. So if you have 64-bit floating point images (100+ Mb per > image), then

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Tony Yu
On Wed, May 23, 2012 at 9:04 AM, Sergi Pons Freixes wrote: > On Wed, May 23, 2012 at 11:00 AM, Guillaume Gay > wrote: > > Hello > > > > > > What is the size of a single image file? If they are very big, it is > > better to do everything from processing to ploting at once for each file. > > As sta

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Guillaume Gay
Le 23/05/2012 15:04, Sergi Pons Freixes a écrit : > On Wed, May 23, 2012 at 11:00 AM, Guillaume Gay > wrote: >> Hello >> >> >> What is the size of a single image file? If they are very big, it is >> better to do everything from processing to ploting at once for each file. > As stated below, each

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Sergi Pons Freixes
On Wed, May 23, 2012 at 11:00 AM, Guillaume Gay wrote: > Hello > > > What is the size of a single image file? If they are very big, it is > better to do everything from processing to ploting at once for each file. As stated below, each image is single-channel, of 4600x3840 pixels. As you can see

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Guillaume Gay
Hello What is the size of a single image file? If they are very big, it is better to do everything from processing to ploting at once for each file. Le 23/05/2012 10:11, Sergi Pons Freixes a écrit : > I'm plotting several images at once, sharing axes, because I use it > for exploratory purpos

[Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Sergi Pons Freixes
I'm plotting several images at once, sharing axes, because I use it for exploratory purposes. Each image is the same satellite image at different dates. I'm experimenting a slow response from matplotlib when zooming and panning, and I would like to ask for any tips that could speed up the process.