On Fri, May 29, 2009 at 10:25 AM, Paul Anton Letnes
<paul.anton.let...@gmail.com> wrote:

> I'm trying to make a publication quality plot for a two-column latex
> article. I'm using latex for text processing, so the plot quality
> itself is impeccable. However, as I scale the plot size down, the
> legend becomes extremely large compared to the plot itself.  Has
> anyone solved this problem in a good manner? I'm not willing to make
> do without the legend.

The major determinant of the legend is the fontsize, so if you want to
make a small figure in inches, you may want to make the legend font
smaller

  import matplotlib.font_manager as font_manager
  leg = ax.legend(loc='upper left', prop=font_manager.FontProperties(size=10))

JDH

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to