>>>>> "fred" == fred <[EMAIL PROTECTED]> writes:
fred> Hi the list, Is it possible to have some curves not legended
fred> ?
ax.plot(x,y,label='_nolegend_')
Help on function legend in module matplotlib.pylab:
legend(*args, **kwargs)
LEGEND(*args, **kwargs)
Place a legend on the current axes at location loc. Labels are a
sequence of strings and loc can be a string or an integer
specifying the legend location
USAGE:
Make a legend with existing lines
>>> legend()
legend by itself will try and build a legend using the label
property of the lines/patches/collections. You can set the
label of a line by doing plot(x, y, label='my data') or
line.set_label('mydata'). If label is set to '_nolegend_', the
item will not be shown in legend.
JDH
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users