On Thu, Oct 7, 2010 at 2:16 PM, Justin McCann <jne...@gmail.com> wrote:

> Sorry about that; don't know what key combo I pushed. Completed email is
> below.
>
>
> On Thu, Oct 7, 2010 at 3:09 PM, Justin McCann <jne...@gmail.com> wrote:
>
>> I have several heatmap images, which I place in subplots stacked
>> vertically. I've been using
>>    ax = figure.add_subplot(nplots, 1, plotnum)
>>    ax.imshow(...)
>>
> to add each subsequent heatmap, and then place a colorbar as another
> subplot. I'd like to annotate across all of the subplots by placing a
> vertical line (or vspan) across the entire figure-- to extend from the
> bottom figure all the way to the top, including the spaces in between. I
> thought I had seen an example of this somewhere, but couldn't find it in the
> gallery. Any suggestions?
>
> Thanks,
>    Justin
>
>
You are right, I could have sworn I seen an example of that somewhere, but
this is the best I could find:

http://matplotlib.sourceforge.net/users/annotations_guide.html?highlight=annotation#using-connectorpatch

Maybe someone else knows of the "correct" way of doing this and we could get
it added to the gallery?

Ben Root
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to