errorbars and legend

Hi,

When I try to add a legend to an errorbar plot, each individual errorbar
gets added to the legend (without a label). With ~2000 points in my
plot, I end up with >2000 entries in my legend: not good.

Can anyone suggest a work-around for this?

thanks,
Bryan

Try this:

a=arange(10)
l1,err = errorbar(a,a,sqrt(a))
legend((l1,),('it works',))

ยทยทยท

On Wednesday 09 February 2005 10:05 am, Bryan Cole wrote:

Hi,

When I try to add a legend to an errorbar plot, each individual errorbar
gets added to the legend (without a label). With ~2000 points in my
plot, I end up with >2000 entries in my legend: not good.

Can anyone suggest a work-around for this?

thanks,
Bryan

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--

Darren