Re: [Matplotlib-users] axhspan with data-coord in x

2006-11-08 Thread John Hunter
> "Yannick" == Yannick Copin <[EMAIL PROTECTED]> writes: Yannick> Hi, I'd like to use axhspan, but specifying both y *and* Yannick> x extents in *data* units (by default, y is specified in Yannick> data units, and x in axes -- relative 0-1 -- units). How Yannick> should I proce

[Matplotlib-users] axhspan with data-coord in x

2006-11-08 Thread Yannick Copin
Hi, I'd like to use axhspan, but specifying both y *and* x extents in *data* units (by default, y is specified in data units, and x in axes -- relative 0-1 -- units). How should I proceed? I naively tried to play with gca().transAxes and so on, but I must admit I was utterly confused... Or sh