Hi,

I want to display some measurement data as simple dots, and also a 
modeled curve (solid line, no symbols). When I set legend.numpoints to 
one I get one dot displayed in my legend, but no solid line any more. Is 
it somehow possible to configure the legend behavior for each line 
separately?

Thanks
Wolfgang


import matplotlib
from pylab import *

t=[0,1,2]
s=[0.1,1.1,1.9]
plot(t, t,label='curve')
plot(s, t, markersize=7, marker='o', 
markeredgecolor='b',markerfacecolor='w',alpha=0,label='dots')
ylim(-0.1,2.1)
legend(loc=2)
show()



_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to