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
> build a PatchCollection.
> BrokenBarHCollection could be a candidate, but I have trouble figuring how to
> force the bars to span the whole range of y: is it possible to force the
> ordinates to axes coordinates ?
> Thanks a lot in advance for any idea/comment

You could use this if you pass in a custom blended transform -- see
the src for axhspan and axvspan to see how it creates the blended
transform (blend of xaxis and yaxis transform) and just pass this off
to the bar collection.

Let me know if you need any help.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to