[Matplotlib-users] problem with imshow

2007-11-19 Thread Jun She
Dear matplotlib users, The operating system of my PC is Ubuntu dapper. I installed matplotlib with Python 2.4. When I use *imshow* with *axis('equal')*, the axis of the output figure is not equal. However, when I run same script in my laptop with Windows XP, the figure seems OK. Why? Many thank

Re: [Matplotlib-users] pcolor

2007-11-19 Thread Jeff Whitaker
Bryan Fodness wrote: > I would like to use pcolor with the colors going from white (zero > values) to black (largest value). > > I am using, > > pcolor(a, shading = 'flat') > colorbar() > > I do not see how to do this. > > > pcolor(a, shading = 'flat', cmap=cm.binary) -Jeff -- Jeffrey S. Whi

[Matplotlib-users] pcolor

2007-11-19 Thread Bryan Fodness
I would like to use pcolor with the colors going from white (zero values) to black (largest value). I am using, pcolor(a, shading = 'flat') colorbar() I do not see how to do this. -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magu

[Matplotlib-users] Error in OSX

2007-11-19 Thread Chris Diehl
Hello All, When I launch ipython (by typing "ipython -pylab") and issue the first matplotlib command, such as simply "figure()", I get the following error messages: TkMacOSXDoHLEvent failed : cppe 1 ,kHighLevelEvent 44464458 XDFD,-1708 TkMacOSXDoHLEvent failed : cppe 1