Re: [Matplotlib-users] Legend for a scatter plot based on symbols

2008-06-04 Thread Matthias Michler
Hi Matthieu, I'm not sure if somebody else already answered to your question and I don't know the best way to achieve what you need, but I suggest the following work-around: scatter(x, x**2.4, marker='s', color='r', s=25, label=_) # with no label plot([0], [0], ls='', marker='s', color='r',

Re: [Matplotlib-users] Legend for a scatter plot based on symbols

2008-06-04 Thread Matthieu Brucher
Hi, Thanks for the tips, I'll try that :) Matthieu 2008/6/4 Matthias Michler [EMAIL PROTECTED]: Hi Matthieu, I'm not sure if somebody else already answered to your question and I don't know the best way to achieve what you need, but I suggest the following work-around: scatter(x,

[Matplotlib-users] Legend for a scatter plot based on symbols

2008-05-30 Thread Matthieu Brucher
Hi, I'd like to plot three scatter plots on the same figure, each with different symbols. Associated to these scatter plots, I'd like to put a legend. For the moment, the legend is based on one of the color of the associated scatter plot, but it is not relevant. Indeed, the colors are not