Hi Zunbeltz,

you could include some fake-lines outside the visible regionm which get your 
favorite label like

plot([0], [0], label='my favorite label for squares', marker='s', 
color='black', mfc='white', mec='black')

and don't use labels for the original data.

Kind regards
Matthias

On Saturday 21 November 2009 20:28:37 Zunbeltz Izaola wrote:
> Hi,
>
> I would like to have a different marker facecolor in the legend that in
> the plot. Is there any way to change this color?=20
>
> In more detail my problem is the following. I plotted 6 dataset.  They
> are divided in 2 groups; one with blue and the other with red color.
> In each group I have used 3 different markers.  I have annotated the
> meaning of the color in the plot, so I don't need a legend with 6 lines.
> I only need 3, but I would like that the markers in this plot will be
> empty (markerfacecolor=3Dwhite). Is it possible?
>
> Best regards,
>
> Zunbeltz



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to