Re: [Matplotlib-users] pylab axis query and possible bug

2007-12-21 Thread Gary Ruben
Beautiful! Many thanks John. Gary R. John Hunter wrote: > You can manually turn off autoscaling on the axes instance with the > following, and both scatter and plot should then work as you want. > > ax1 = subplot(121) > axis('off') > ax1.imshow(rand(20,20)) > ax2 = subplot(122) > axis('off') >

Re: [Matplotlib-users] py2exe problem

2007-12-21 Thread Emmanuel
Dear Werner, I tested your script here here with python 2.5, matplotlib 0.91.1 and wxpython 2.8.7.1 using regular installation (not enthought). If I replace : from wx import * by import wx (and make the necessary modification) The program starts well! (the button does not work but the problem is

[Matplotlib-users] plotting a pcolormesh and a fill

2007-12-21 Thread Bryan Fodness
I have a pcolormest and a fill that are plotted on the same graph (they have the same scale). Is there an easy way to only plot the values of pcolormesh that lie in the fill? pcolormesh(oX, oY, test, shading='flat', cmap=cm.gray_r) fill([-x1,x2,x2,-x1], [-y1,-y1,y2,y2], 'b', alpha=0.2, edgecolor=

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-21 Thread Utkarsh Upadhyay
+1 Worked for me too. Thanks. ~ musically_ut On Dec 12, 2007 7:45 PM, Armando Serrano Lombillo <[EMAIL PROTECTED]> wrote: > Ok, I've just read the thread "Repeated calls to set_text using TeX > formatting results in RuntimeError" which looked very similar to our problem > and after applying t

[Matplotlib-users] (no subject)

2007-12-21 Thread Christiaan Putter
Hi guys and girls, Quick question regarding matplotlib's svg backend... I've embeded pyhton into c++ and Qt's (4.3.3) svg support is having some problems with .svg files created by matplotlib. Text isn't showing up. Firefox displays the same .svg file correctly though... The problem: It seems

[Matplotlib-users] axes numbers font size

2007-12-21 Thread G. O. Nikiforov
Hello, I just started looking into python and matplotlib a few days ago and I am amazed that this software can do more or less the same as MATLAB. I just have a couple of questions regarding some stuff that I spent a lot of time without figuring out. 1. Is there a way to change the font type

Re: [Matplotlib-users] pylab axis query and possible bug

2007-12-21 Thread John Hunter
On Dec 21, 2007 11:50 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Dec 20, 2007 9:22 PM, Gary Ruben <[EMAIL PROTECTED]> wrote: > > Hi listees, > > > > I often generate plots using the pylab interface plot() function to > > overlay an imshow() image. The minimal script below demonstrates a > > pr

Re: [Matplotlib-users] pylab axis query and possible bug

2007-12-21 Thread John Hunter
On Dec 20, 2007 9:22 PM, Gary Ruben <[EMAIL PROTECTED]> wrote: > Hi listees, > > I often generate plots using the pylab interface plot() function to > overlay an imshow() image. The minimal script below demonstrates a > problem, which may be a bug, or may be a deliberate change introduced > into mp