On Thu, Jan 6, 2011 at 7:20 AM, Jae-Joon Lee wrote:
> I think this should be more like a feature request (rather than a
> bug). Legend only support simple artists such as
> lines/patches/collections.
I disagree about this not being a bug. I understand that it can be
difficult to implement, howeve
On Wed, Jan 5, 2011 at 9:24 PM, Benjamin Root wrote:
> To prevent it from getting lost, could you please
> file a report on our bug tracker?
Done:
https://sourceforge.net/tracker/?func=detail&aid=3152447&group_id=80706&atid=560720
I think the right behavior should mimic what Matlab does. I add
On Thu, Jan 6, 2011 at 1:24 PM, Benjamin Root wrote:
> I apologize for how long it has taken to get back to you. I can confirm
> your bug, and it is indeed a bug. However, I am not sure how exactly it
> should be dealt with. To prevent it from getting lost, could you please
> file a report on o
On Fri, Dec 17, 2010 at 4:03 PM, Alejandro Weinstein <
alejandro.weinst...@gmail.com> wrote:
> Hi:
>
> I want to add a legend to a stem plot with two plots. The basic code is:
>
> ###
> from pylab import *
>
> x = [1,2,3,4,5]
> y1 = [1, 2, 3, 4, 5]
> y2 = [5, 4, 3, 2, 1]
>
Hi:
I want to add a legend to a stem plot with two plots. The basic code is:
###
from pylab import *
x = [1,2,3,4,5]
y1 = [1, 2, 3, 4, 5]
y2 = [5, 4, 3, 2, 1]
subplot(211)
plot(x, y1, 'rx-')
plot(x, y2, 'bx-')
legend(('a', 'b'))
subplot(212)
stem(x, y1, 'r')
stem(x,y2,