I was playing with interpolation, and this little script does something weird 
with interpolation.  for N<30000 everything is ok.  after 30000 it is 
white...it draws the image, but then every point from 30000 on is white (so 
with N=60000 the plot is half white).  matplotlib 1.01 from enthought 
distribution 7.  am I doing something wrong?  seems to only affect 
interpolation nearest.


                thanks!

                        bb

from pylab import *

N=50000

im=randn(20,N)
figure(1)

subplot(2,1,1)
imshow(im,
    aspect='auto',
    )

subplot(2,1,2)
imshow(im,
    cmap=cm.hot,
    aspect='auto',
    interpolation='nearest',
    )

draw()



-- 
Brian Blais
bbl...@bryant.edu
http://web.bryant.edu/~bblais
http://bblais.blogspot.com/




------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to