Re: matplotlib legend problem

2006-01-27 Thread John Hunter
> "bwaha" == bwaha <[EMAIL PROTECTED]> writes: bwaha> added the location argument. Finally realised it was due to bwaha> having a default of 'best' location in my code which meant bwaha> it went searching for intersection with lines that don't bwaha> exist (outside of the LineC

Re: matplotlib legend problem

2006-01-27 Thread bwaha
"bwaha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Has anyone figured out how to get a legend for each line in a > matplotlib.collections.LineCollection instance? > After frigging around for hours I finally tracked down the real cause of the plotting speed problem which led me t

matplotlib legend problem

2006-01-27 Thread bwaha
Has anyone figured out how to get a legend for each line in a matplotlib.collections.LineCollection instance? No problem if I plot lines the default way ie. line,=plot(x,y). But I've had to resort to using LineCollections for the significant speed boost since I am routinely plotting up to ten 3000