On Wed, Jun 3, 2009 at 2:11 AM, Paul Anton Letnes
<paul.anton.let...@gmail.com> wrote:
> Is this complete enough? If you do the plot, you'll see that the plot

Unfortunately not. It is best if you post a stand-alone script that we
can simply run with copy-and-paste.

> is about one column wide (7 cm-ish) and that the legend is relatively
> large. I made similar size plots in Gnuplot before, at font size 10,
> but the legend was somehow less dominant.

Please be more specific why you think the legend looks large, e.g.,
too much line-spacing, too long handle length, too much padding, etc.
I think the legend has an adequate size in my view, even with your
configuration. You may post the output of gnuplot and compare it with
the output of matplotlib. Also, let us know what version of mpl you're
using. The legend function has recently undergone some changes.

You can customize most of spacing parameters of the legend. Take a
look at the documentation.

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

The default figure size is 8 inch x 6 inch, and most of other
parameters are tuned for this setup. And some of these default
parameters won't work well if you simply create a figure of very small
size. My personal approach is to create a figure with a default size
(or some slight adjustment) and do not worry about other parameters,
and simply scale down the output eps file itself when I include it in
the latex document.

Regards,

-JJ

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to