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

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 t

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 th

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.. Eri

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

2006-12-05 Thread Eric Emsellem
Hi, I am trying to overplot symbols on a region filled (with pale grey color) between two curves. For some reason the filled region is always ON TOP of the symbols so that I don't see them.. (I wanted to use transparency with alpha, but then it is to build a postscript figure which does not suppo

Re: [Matplotlib-users] artist.py

2006-12-05 Thread John Hunter
> "Tom" == Tom Denniston <[EMAIL PROTECTED]> writes: Tom> I've been profiling some of my code which builds many Tom> somewhat complex graphs. I've noticed that it spends almost Tom> all it's time in the __init__ of the artist class. The time Tom> there is almost entirely spen

[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 transforming--f

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/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 52

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

2006-12-05 Thread Fabian Braennstroem
Hi John, * John Hunter <[EMAIL PROTECTED]> wrote: >> "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

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

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 matplot

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>

[Matplotlib-users] Installation problem

2006-12-05 Thread Piter_
Hi all. I am new user of matplot-lib and Python. I try to find replacement for matlab. Now I use Debian-testing but my experience with it is little. I have reinstalled system few days ago and matplotlib is not working now. If I start python (2.3). from pylab import * plot([1,2,3]) nothing happe

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 the

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

2006-12-05 Thread Giorgio Luciano
Thanks to all for the replies :) I used a tuple to solve the problem because I dind't manage to reshape my array since it comes from a previous slicing, but not it seems to work. Is it the same problem because this doesn't work ? from pylab import * y=array([[ 1.02], [ 1.05], [ 1.03], [ 0.99], [