Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-20 Thread Bill Baxter
On 5/20/07, John Hunter <[EMAIL PROTECTED]> wrote: > On 5/18/07, Christopher Barker <[EMAIL PROTECTED]> wrote: > > > > > > I'm no expert, but it looks like you need to do: > > axis.add_collection(YourCollection) > > Yep, this i the right approach. See the following examples: > > collections_demo.p

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-20 Thread John Hunter
On 5/18/07, Christopher Barker <[EMAIL PROTECTED]> wrote: > > > Bill Baxter wrote: > > That does look like what I'm after. Two things are unclear to me from > > the docs you pointed to: > > 1) How do you actually add something to a plot with those? Are they > > automatically added to the current

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-18 Thread Christopher Barker
Bill Baxter wrote: > That does look like what I'm after. Two things are unclear to me from > the docs you pointed to: > 1) How do you actually add something to a plot with those? Are they > automatically added to the current figure just by creating them? I'm no expert, but it looks like you

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-18 Thread Bill Baxter
That does look like what I'm after. Two things are unclear to me from the docs you pointed to: 1) How do you actually add something to a plot with those? Are they automatically added to the current figure just by creating them? 2) How do patch/poly collections determine the edges? All I can see

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-18 Thread Christopher Barker
Bill, I'm not totally sure if it will help for this, but try checking out matplotlib.collections.LineCollection and matplotlib.collections.PolyCollection http://matplotlib.sourceforge.net/matplotlib.collections.html -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Divisio