axhspan with data-coord in x

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 should I directly draw a rectangle? (but how to?)

Cheers.

···

--
             / \ , ,
   _._ _ |oo| _ / \__/ \
  _|||| ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro
  >>>>>/| ( ==== ) |oo| Institut de physique nucleaire de Lyon
   \____/ _`\ /'_ / \ (IN2P3 - France)
   / /.-' /\<>/\ `\.( () )_._ Tel: (33/0) 472 431 968
   > ` / \/ \ /`'--'////) http://snovae.in2p3.fr/ycopin/
    \__,-'`| |. |\/ |/\/\|"\"` AIM: YcCopin ICQ: 236931013
       jgs | |. | \___/\___/
           > >. | | |