Yes, I have seen my error too late, thanks. But I can't
> get a line in the legend, just markers?
I'm not sure what you are trying to do here. How about
ax = subplot(111)
ax.plot([1,2,3], '-', label='a line')
ax.legend()
JDH
Yes, I have seen my error too late, thanks. But I can't
> get a line in the legend, just markers?
I'm not sure what you are trying to do here. How about
ax = subplot(111)
ax.plot([1,2,3], '-', label='a line')
ax.legend()
JDH
I don't know if it's a normal way with mpl, but with your example or with my
datas, the legend doesn't have a line beside the text, just the space for it.
If I use linestyle='o', the marked is drawn.
Le mardi 26 septembre 2006 16:29, John Hunter a écrit :
I'm not sure what you are trying to do here. How about
ax = subplot(111)
ax.plot([1,2,3], '-', label='a line')
ax.legend()
--
Lionel Roubeyrie - lroubeyrie@...1068...
LIMAIR
http://www.limair.asso.fr