Re: [Matplotlib-users] legend for plots with points

2009-01-27 Thread mfabulous
mfabulous wrote: > Hi all, > > I apologize if this was asked before. I just started adding legends to my > plots > and found the legend stile for a point-plot, i.e. a plot using points > rather > than > lines to be a bit confusing. > > Example: > pylab.plot(arange(5), arange(5), 'o', label=

Re: [Matplotlib-users] legend for plots with points

2009-01-27 Thread Eric Firing
mfabulous wrote: > Hi all, > > I apologize if this was asked before. I just started adding legends to my > plots > and found the legend stile for a point-plot, i.e. a plot using points rather > than > lines to be a bit confusing. > > Example: > pylab.plot(arange(5), arange(5), 'o', label="foo"

[Matplotlib-users] legend for plots with points

2009-01-26 Thread mfabulous
Hi all, I apologize if this was asked before. I just started adding legends to my plots and found the legend stile for a point-plot, i.e. a plot using points rather than lines to be a bit confusing. Example: pylab.plot(arange(5), arange(5), 'o', label="foo") pylab.legend() Will produce a leg