Re: [Matplotlib-users] error bar and arrays (tuple way to solve a problem)

2006-12-05 Thread Eric Firing
Again, the problem with the sample you supply is that you are making 2-D arrays where what you need are 1-D arrays. Simply flattening y and pred before using them makes the script work fine, as attached. Or make them 1-D in the first place. Eric Giorgio Luciano wrote: Thanks to all for

Re: [Matplotlib-users] Construction of Drop Lines in Plot

2006-12-05 Thread John Hunter
Brent == Brent Fillery [EMAIL PROTECTED] writes: Brent Hi All Brent I am new to Matplotlib, and was wondering if anybody knew Brent of an easy way to construct a dropline from a data point in Brent a plot to the x axis, i.e. a vertical line from (x1,y1) to Brent (x1,0)?

Re: [Matplotlib-users] Installation problem

2006-12-05 Thread John Hunter
Piter == Piter [EMAIL PROTECTED] writes: Piter Hi all. I am new user of matplot-lib and Python. I try to Piter find replacement for matlab. Now I use Debian-testing but Piter my experience with it is little. I have reinstalled system Piter few days ago and matplotlib is not

Re: [Matplotlib-users] install problem with python 2.5

2006-12-05 Thread John Hunter
Fabian == Fabian Braennstroem [EMAIL PROTECTED] writes: I am trying to install matplotlib 0.87.7 with my newly separate installed python 2.5. For this I installed 'pygtk 2.4.1' and numpy 1.0 using this python 2.5 installation. Now, running 'python2.5 setup.py build' I get

Re: [Matplotlib-users] Installation problem

2006-12-05 Thread Christopher Barker
Piter_ wrote: If I start python (2.3). from pylab import * plot([1,2,3]) nothing happens. what if you then type: show() -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329

[Matplotlib-users] artist.py

2006-12-05 Thread Tom Denniston
I've been profiling some of my code which builds many somewhat complex graphs. I've noticed that it spends almost all it's time in the __init__ of the artist class. The time there is almost entirely spent on calling identity_transform which builds a SeperableTransform that does no

Re: [Matplotlib-users] How to OVERplot on filled region?

2006-12-05 Thread John Hunter
Eric == Eric Emsellem [EMAIL PROTECTED] writes: Eric Hi, I am trying to overplot symbols on a region filled (with Eric pale grey color) between two curves. For some reason the Eric filled region is always ON TOP of the symbols so that I Eric don't see them.. Eric (I wanted

Re: [Matplotlib-users] artist.py

2006-12-05 Thread Christopher Barker
John Hunter wrote: I'm hesitant to make a single (shared) identity transform since transforms are mutable. Couldn't you make one that was immutable (is that possible in Python)? Or even just have a convention that you don't mutate the identity transform (though it could be way to late for

Re: [Matplotlib-users] artist.py

2006-12-05 Thread Eric Firing
John, Tom, I don't understand how generation of the identity transform for each Artist instance could possibly be a significant overall slowdown; it should be very fast, and only a small part of the time required to actually do anything useful with an Artist instance. I am wondering whether

Re: [Matplotlib-users] artist.py

2006-12-05 Thread John Hunter
Christopher == Christopher Barker [EMAIL PROTECTED] writes: Christopher This sounds like a job for properties! make Christopher _transform a property, and code that gets and sets it Christopher directly should still work. though People that were Christopher accessing an