Re: [Matplotlib-users] making publication quality plots

2009-06-03 Thread Paul Anton Letnes
On 30. mai. 2009, at 13.56, John Hunter wrote: On Sat, May 30, 2009 at 3:50 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: Hello again, I can set the figure size and font size, that all works fine. However, the legend is prohibitively large: for a plot 3 inches wide (why

Re: [Matplotlib-users] making publication quality plots

2009-06-03 Thread Chaitanya Krishna
Hi Paul, Can you try font.size: 10 legend.fontsize: small [or medium] in your rc file. Defining the fontsize and then defining the fontsize of the xtick labels, legend etc with respect to this font size seems to work better than defining everything by hand. Switching off the legend frame does

Re: [Matplotlib-users] making publication quality plots

2009-06-03 Thread Jae-Joon Lee
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

Re: [Matplotlib-users] making publication quality plots

2009-05-30 Thread Paul Anton Letnes
Hello again, I can set the figure size and font size, that all works fine. However, the legend is prohibitively large: for a plot 3 inches wide (why doesn't matplotlib use centimeters or similar?), the legend takes up about one third of the plot. This does not look too good... cheers,

Re: [Matplotlib-users] making publication quality plots

2009-05-30 Thread John Hunter
On Sat, May 30, 2009 at 3:50 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: Hello again, I can set the figure size and font size, that all works fine. However, the legend is prohibitively large: for a plot 3 inches wide (why doesn't matplotlib use centimeters or similar?), the

[Matplotlib-users] making publication quality plots

2009-05-29 Thread Paul Anton Letnes
Howdy y'all! 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

Re: [Matplotlib-users] making publication quality plots

2009-05-29 Thread Chaitanya Krishna
Hi, I usually fix the size of the figure when I produce it. I use rcparams below for a single column plot. This usually solves the problem. What you see is what you get in the final document if you use the same size of the figure as used to produce it. def paper_single(): plt.rc('figure',

Re: [Matplotlib-users] making publication quality plots

2009-05-29 Thread John Hunter
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