On Thu, Apr 30, 2009 at 2:29 PM, John Hunter <jd...@gm...> wrote: > > > On Thu, Apr 30, 2009 at 4:14 PM, T J <tj...@gm...> wrote: >> >> Fill between is for filling between two y-values over a range of >> x-values. Is there anything which fills between to x-values over a >> range of y-values? > > Nothing with the ease of use of fill_between, but you can always write your > own PolyCollection, which is what fill_between does (see the function > implementation for details) or create a Polygon for a simple region. My use > cases are typically in the time series world where I have datetime on the > x-axis and some range of values on the y. If folks think it is sufficiently > useful to have a fill_betweenx function with a similar interface, you could > probably fairly easy port fill_between to fill_betweenx. > > http://matplotlib.sourceforge.net/faq/howto_faq.html#contributing-howto > Done. Attached diff is against rev7075.
On Thu, Apr 30, 2009 at 3:55 PM, T J <tj...@gm...> wrote: > On Thu, Apr 30, 2009 at 2:29 PM, John Hunter <jd...@gm...> wrote: >> >> >> On Thu, Apr 30, 2009 at 4:14 PM, T J <tj...@gm...> wrote: >>> >>> Fill between is for filling between two y-values over a range of >>> x-values. Is there anything which fills between to x-values over a >>> range of y-values? >> >> Nothing with the ease of use of fill_between, but you can always write your >> own PolyCollection, which is what fill_between does (see the function >> implementation for details) or create a Polygon for a simple region. My use >> cases are typically in the time series world where I have datetime on the >> x-axis and some range of values on the y. If folks think it is sufficiently >> useful to have a fill_betweenx function with a similar interface, you could >> probably fairly easy port fill_between to fill_betweenx. >> >> http://matplotlib.sourceforge.net/faq/howto_faq.html#contributing-howto >> > > Done. Attached diff is against rev7075. > I've added the patch to the tracker. http://sourceforge.net/tracker/?func=detail&aid=2786759&group_id=80706&atid=560722
On Mon, May 4, 2009 at 12:53 PM, T J <tj...@gm...> wrote: > I've added the patch to the tracker. > > http://sourceforge.net/tracker/?func=detail&aid=2786759&group_id=80706&atid=560722 Thanks -- looks good. I've committed it to r7079 JDH