Re: [Matplotlib-users] Information request

2008-09-25 Thread Antoine De Pauw
Jeff, I totally agree this is due to missing values Again I've got difficulties to find good words so forgive me, what I tried to say is that the ability to have that border transparent would be a good feature in next releases, for people who need to interpolate and plot such data and have an aes

[Matplotlib-users] uneven width of bars in axes.bar()

2008-09-25 Thread leadingelement
Hello,I've started to use matplotlib for my website since about a month ago and so far I am very impressed with it. I have one question about bar plots using the axes.bar() function. It seems that sometimes when I specify a constant width (by supplying a scalar width argument), I get slightly uneve

Re: [Matplotlib-users] scipy, matplotlib import errors

2008-09-25 Thread Robert Kern
John [H2O] wrote: > I wonder if I've misunderstood or made a mistake? I renamed a file: > /usr/lib/python2.5/new.py to /usr/lib/python2.5/new.bak > > and everything worked... but now, after logging out and logging back in > again, I'm getting the problem again? > > Perhaps that was the standard l

Re: [Matplotlib-users] scipy, matplotlib import errors

2008-09-25 Thread John [H2O]
I'm revisiting this with a new round of errors. I keep getting this error, maybe related as before to the 'new' module, but I cannot tell?? Does anyone know what is going on? Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:51) [GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2 Type "help", "copyright"

Re: [Matplotlib-users] scipy, matplotlib import errors

2008-09-25 Thread John [H2O]
I wonder if I've misunderstood or made a mistake? I renamed a file: /usr/lib/python2.5/new.py to /usr/lib/python2.5/new.bak and everything worked... but now, after logging out and logging back in again, I'm getting the problem again? Perhaps that was the standard libraries module? But I cannot f

Re: [Matplotlib-users] scipy, matplotlib import errors

2008-09-25 Thread John [H2O]
Thank you! I see this is a deprecated module, might I break something else? Thanks again, john Robert Kern-2 wrote: > > John wrote: >> Hello, could someone please help me understand a strange problem, >> possibly associated with PYTHONPATH. When I import matplotlib, pylab, or >> scipy from

Re: [Matplotlib-users] plotting scattered data from array

2008-09-25 Thread Oz Nahum
>¿What's the meaning of that data arrange? I can't make any sense of >plotting a 2D scatter from a 3D array. when I wrote: head = [[0,0,10], [1,0,13], [2,0,11], [3,0,12], [1,2,11]] my meaning was to represent

Re: [Matplotlib-users] plotting scattered data from array

2008-09-25 Thread Goyo
Just give a look at zip(*head) and see that now it return two values so you can't assign it to three variables. ¿What's the meaning of that data arrange? I can't make any sense of plotting a 2D scatter from a 3D array. Goyo El jue, 25-09-2008 a las 15:15 +0200, Oz Nahum escribió: > Hi, > Thanks

Re: [Matplotlib-users] imshow inconsistency from version 0.91 to 0.98

2008-09-25 Thread Jouni K . Seppänen
"John Hunter" <[EMAIL PROTECTED]> writes: > When I run your script with 91.5 (svn branch) vs 98.3 (svn head), I > see that the text labels do not align with the images (PDF only, not > Agg) in 98.3 and not 91.5. Is this the problem you are describing? It's not exactly alignment, it's that the

Re: [Matplotlib-users] imshow inconsistency from version 0.91 to 0.98

2008-09-25 Thread Haibao Tang
John, thanks for the swift reply. 1) Yes. I later found that whenever I call imshow with extent option more than once, the coordinates will be off. 2) Here is a sample script - from pylab import * img = imread("image.png") imshow(img) axis("off") savefig(

Re: [Matplotlib-users] Information request

2008-09-25 Thread Jeff Whitaker
De Pauw Antoine wrote: > Jeff, > > Thanks for the tip, it's now working perfectly > > However, there's still that border with the imshow plot, and I think it > would be good to have it transparent > > There's a zoomed picture I made: > http://img218.imageshack.us/img218/5833/imshowborderxz9.png > >

Re: [Matplotlib-users] imshow inconsistency from version 0.91 to 0.98

2008-09-25 Thread John Hunter
On Wed, Sep 24, 2008 at 2:16 PM, Haibao Tang <[EMAIL PROTECTED]> wrote: > for k in cm_keys: > imshow(Y, extent=(xstart, xstart+.7*col_interval, > ystart, ystart+.5*row_interval), > cmap=get_cmap(name=k)) > root.text(xstart+.75*col_interval, ystart, k, size=9) > xs

Re: [Matplotlib-users] [delaunay] boundary specification

2008-09-25 Thread Jeff Whitaker
Paul Langevin wrote: > Hi, > > I'm wondering if it is Paul: No, it's not. > (or when will it be if not) possible to specify the desired boundary > for the triangulated meshes in order to design holes which seems > impossible at the moment (the boundary seems to always be the convex > hull of

Re: [Matplotlib-users] Information request

2008-09-25 Thread De Pauw Antoine
Jeff, Thanks for the tip, it's now working perfectly However, there's still that border with the imshow plot, and I think it would be good to have it transparent There's a zoomed picture I made: http://img218.imageshack.us/img218/5833/imshowborderxz9.png You see the shadow around the data... I

Re: [Matplotlib-users] plotting scattered data from array

2008-09-25 Thread Oz Nahum
Hi, Thanks for your reply and appologies for my late response. This indeed does the job. But after playing a little bit with the code, I have discovered a few things: first, I'd rather work with lists not tuples so I could actually change my huge array of points. second the array I described is kin

Re: [Matplotlib-users] Matplotlib rpms for RedHat, please

2008-09-25 Thread John Hunter
On Wed, Sep 24, 2008 at 9:35 PM, Dennis Newbold <[EMAIL PROTECTED]> wrote: > Hi all, > > The "Installing" page on the matplotlib website says: "You > probably don't need to compile matplotlib unless you want to or work > on an obscure platform. There are binary builds for Windows, OS X and > ma

Re: [Matplotlib-users] Multiple sub-plot goes off the top of the page

2008-09-25 Thread John Hunter
On Thu, Sep 25, 2008 at 6:34 AM, Peter Saffrey <[EMAIL PROTECTED]> wrote: > For me, the code below draws the top plot only half on the page. Can > anybody help me out? > > > > from pylab import * > > groups = [ [ 'A', 'B', 'C', 'D', 'E' ], >[ 'F', 'G', 'H', 'I' ], >

[Matplotlib-users] using the matplotlib backend with another Tk window.

2008-09-25 Thread Hiro Takami
Hi, I am trying to change my plots using another tk window I made, but it does not work well. I am wondering if someone could help me. Here is an example to try to change the X axis of the plot using scale bars on another Tk window. But once I run the program, the figure window for matplo

Re: [Matplotlib-users] Information request

2008-09-25 Thread John Hunter
On Thu, Sep 25, 2008 at 7:15 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > De Pauw Antoine wrote: >> Hi Jeff, >> >> I finally found out how to fill my figure with a background color using >> axes.set_axis_bgcolor(color), but I'm facing the following problem now: >> >> How could I get the lower col

Re: [Matplotlib-users] new_user matplotlib help

2008-09-25 Thread John Hunter
On Sat, Feb 9, 2008 at 11:05 AM, Jon Loehrke <[EMAIL PROTECTED]> wrote: > Sorry to bother everyone with this post. > > I am new to matplotlib and python in general and am finding a problem that I > don't understand. > > I've downloaded the scipy superpack (through easy_install) from C. > Fonnesbeck

[Matplotlib-users] Multiple sub-plot goes off the top of the page

2008-09-25 Thread Peter Saffrey
For me, the code below draws the top plot only half on the page. Can anybody help me out? from pylab import * groups = [ [ 'A', 'B', 'C', 'D', 'E' ], [ 'F', 'G', 'H', 'I' ], [ 'M', 'N', 'O', 'P', 'Q' ] ] f = figure(1) for i in range(len(groups)): g

[Matplotlib-users] [delaunay] boundary specification

2008-09-25 Thread Paul Langevin
Hi, I'm wondering if it is (or when will it be if not) possible to specify the desired boundary for the triangulated meshes in order to design holes which seems impossible at the moment (the boundary seems to always be the convex hull of the set of points when using delaunay.Triangulation(x,

Re: [Matplotlib-users] Information request

2008-09-25 Thread Jeff Whitaker
De Pauw Antoine wrote: > Hi Jeff, > > I finally found out how to fill my figure with a background color using > axes.set_axis_bgcolor(color), but I'm facing the following problem now: > > How could I get the lower color of a colormap? This is quite undocumented > and I don’t know the colormap prope

Re: [Matplotlib-users] Information request

2008-09-25 Thread De Pauw Antoine
Hi Jeff, I finally found out how to fill my figure with a background color using axes.set_axis_bgcolor(color), but I'm facing the following problem now: How could I get the lower color of a colormap? This is quite undocumented and I don’t know the colormap properties I could use for that I know

Re: [Matplotlib-users] new_user matplotlib help

2008-09-25 Thread Ali_baba
Hallo new user, Furthermore, imagine that a large amount of data is being received over a slow connection. Socket 1 has no data in the read buffer, so it calls wxYield. There is still a pending event on Socket 2, so wxWidgets attempts to process that event. However, that event cannot complete, a

[Matplotlib-users] Matplotlib rpms for RedHat, please

2008-09-25 Thread Dennis Newbold
Hi all, The "Installing" page on the matplotlib website says: "You probably don't need to compile matplotlib unless you want to or work on an obscure platform. There are binary builds for Windows, OS X and many major linux distributions; see below". When I scrol below, under "Linux", I see "