On Fri, Sep 24, 2010 at 4:08 PM, Raju Subban <rajusubba...@gmail.com> wrote:
> Hi,
> In the code below legend(label) for ax2 is shown as ax2.legend() is called
> after ax1.legend().
> Both plots do show up as expected.
>
> What should I do to get the legends for both plots.
>
> Thank you
> Raju
>
Raju, I think ax1.legend() is appearing under ax2.legend(). The problem is
that the legend() function works on a single axes object, but we technically
have two axes objects.
I wonder if there needs to be some additional thought put into twinx and
twiny and how it works with other aspects of matplotlib?
Ben Root
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users