Re: [Matplotlib-users] drawing objects/lines outside of plot

2008-09-20 Thread charles reid
That does the trick! Thanks Eric. == The 2nd Law of Thermodynamics... If you think things are a mess now, JUST WAIT! On Sat, Sep 20, 2008 at 12:47 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > charles reid wrote: > >> Hi there - >> >> I'm wondering if there is a way to do this, since I

Re: [Matplotlib-users] drawing objects/lines outside of plot

2008-09-20 Thread Eric Firing
charles reid wrote: > Hi there - > > I'm wondering if there is a way to do this, since I haven't found > anything online or in the mailing list archives that covers it. I'd > like to draw a line from inside the plot area to outside the plot area > (see attached image - the blue line is what I

[Matplotlib-users] drawing objects/lines outside of plot

2008-09-20 Thread charles reid
Hi there - I'm wondering if there is a way to do this, since I haven't found anything online or in the mailing list archives that covers it. I'd like to draw a line from inside the plot area to outside the plot area (see attached image - the blue line is what I plot, but I'd like to know how to c

Re: [Matplotlib-users] Problem with label displaying

2008-09-20 Thread Laurent Dufrechou
Excellent! That's was EXACTLY what I needed! Thanks a lot Friedrich! :) 2008/9/20 Friedrich Hagedorn <[EMAIL PROTECTED]>: > On Sat, Sep 20, 2008 at 04:06:36PM +0200, Laurent Dufrechou wrote: >> Hello all, >> I'm trying to show to a friend matplotlib features via pylab interface. >> (thus to repl

Re: [Matplotlib-users] Problem with label displaying

2008-09-20 Thread Friedrich Hagedorn
On Sat, Sep 20, 2008 at 04:06:36PM +0200, Laurent Dufrechou wrote: > Hello all, > I'm trying to show to a friend matplotlib features via pylab interface. > (thus to replace matlab/scilab) > I've a little problem while I'm trying to display plots into subplots here > under vista. > If I add a pylab

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

2008-09-20 Thread Goyo
Try something like this: import pylab as pl head = ((0,0,10), (1,0,13), (2,0,11), (3,0,12), (1,2,11)) x, y, z = zip(*head) xi, yi = pl.arange(0, 4, 0.1), pl.arange(0, 3, 0.1) g = pl.griddata(x, y, z, xi, yi) pl.scatter(x, y)

[Matplotlib-users] plotting scattered data from array

2008-09-20 Thread Oz Nahum
I'm trying again to understand how to plot scattered data from array into contour graph. I looked at http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data and I understand I have to grid my data. However, in most samples the plot is of a function. Let's say I w