Re: [Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread Pierre GM
On Thursday 21 June 2007 17:15:01 Eric Firing wrote: > trans = blend_xy_sep_transform( self.transData, self.transAxes ) > > where "self" in this case is the axes instance, so you would use "ax" or > whatever. Then, since the collection is an artist, you can use its > inherited set_transform(tran

Re: [Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread Eric Firing
Pierre GM wrote: > All, > I need to plot stripes of different widths at different locations along the x > axis, but spanning the whole range of y data. Using axvspan in a loop works > quite fine. However, I was wondering whether it wouldn't be more efficient to > build a PatchCollection. > Brok

Re: [Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread John Hunter
On 6/21/07, Pierre GM <[EMAIL PROTECTED]> wrote: > All, > I need to plot stripes of different widths at different locations along the x > axis, but spanning the whole range of y data. Using axvspan in a loop works > quite fine. However, I was wondering whether it wouldn't be more efficient to > bui

[Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread Pierre GM
All, I need to plot stripes of different widths at different locations along the x axis, but spanning the whole range of y data. Using axvspan in a loop works quite fine. However, I was wondering whether it wouldn't be more efficient to build a PatchCollection. BrokenBarHCollection could be a c