On Thu, Aug 11, 2011 at 11:34 AM, David Just <just.da...@mayo.edu> wrote:
> The images are usually ~ 256x256 greyscale. They vary a bit in size, but
> are not large by any shape or form.
>
> It seems interpolation is happening on each scroll. This is evident by
> changing the interpolation scheme from linear to spline36.
>
> Linear takes ~0.25 seconds to re-draw the new image
> spline36 takes ~.36 seconds to re-draw the new image
>
> Each “pile” of images ranges in size from 10-150 so scrolling from top to
> bottom of 150 images can take upwards of 30 seconds!!!!!!
> (This is on a macbook pro with a 2.53 ghz core 2 duo processor. )
>
> I’m also trying to figure out how to change the size of the canvas that I
> get since it’s overly large and seems to be stopping me from reducing the
> size of my GTK window.
>
> Thanks,
> Dave.
>
>
>
Are all of the images in a "pile" the same size? If they are different
sizes as you scroll through them, then that is what is causing the problem.
I would suggest sampling all of the images to a common resolution and
scrolling through that array of images..
Ben Root
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users