Re: [Matplotlib-users] Legend size and markers

2010-06-01 Thread Jae-Joon Lee
On Tue, Jun 1, 2010 at 3:58 AM, L1011 yabilisa...@hotmail.com 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.

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


 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
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--

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


Re: [Matplotlib-users] Legend size and markers

2010-06-01 Thread L1011

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.


--

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