Legend size and markers

Hello everyone!

Here's my first (bout not last) post:

I'm trying to customize one of my plot and I wondered if there was easy way
to:
-set the font size of the legend
-set the number of markers displayed in the legend. Indeed, I got by default
to markers showing in my legend and I want to keep only one of them.

Sorry if those questions have already been post, but I could not find
exactly where.

L1011.

···

--
View this message in context: http://old.nabble.com/Legend-size-and-markers-tp28738771p28738771.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Hello everyone!

Here's my first (bout not last) post:

I'm trying to customize one of my plot and I wondered if there was easy way
to:
-set the font size of the legend
-set the number of markers displayed in the legend. Indeed, I got by default
to markers showing in my legend and I want to keep only one of them.

Sorry if those questions have already been post, but I could not find
exactly where.

http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend

Provide following keywords when you call legend.

prop=dict(size=35), numpoints=1

Regards,

-JJ

···

On Tue, Jun 1, 2010 at 3:58 AM, L1011 <yabilisacha@...32...> wrote:

L1011.
--
View this message in context: http://old.nabble.com/Legend-size-and-markers-tp28738771p28738771.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Thank you Jae-Joon Lee, it works just fine!

L1011 wrote:

···

Hello everyone!

Here's my first (bout not last) post:

I'm trying to customize one of my plot and I wondered if there was easy
way to:
-set the font size of the legend
-set the number of markers displayed in the legend. Indeed, I got by
default to markers showing in my legend and I want to keep only one of
them.

Sorry if those questions have already been post, but I could not find
exactly where.

L1011.

--
View this message in context: http://old.nabble.com/Legend-size-and-markers-tp28738771p28744244.html
Sent from the matplotlib - users mailing list archive at Nabble.com.