Re: [Matplotlib-users] Font size and savefig

2009-05-01 Thread Thomas Robitaille
The patch seems to work - the MacOSX backend now displays the same font size as the other backends. Thanks! Thomas On 1 May 2009, at 14:06, Michael Droettboom wrote: Michiel de Hoon provided a patch for this which I just applied to the trunk. As I don't have a Mac, I can't test it --

Re: [Matplotlib-users] Font size and savefig

2009-04-30 Thread Jae-Joon Lee
Thomas, As John suggested before, please check if the size differences go away if you use the same dpi, actually dpi=72. After some quick look, it seems that the osx backend does not scale the font size correctly respecting the dpi. At line 124 of bacend_macosx.py, size =

Re: [Matplotlib-users] Font size and savefig

2009-04-29 Thread John Hunter
On Tue, Apr 28, 2009 at 11:24 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Tue, Apr 28, 2009 at 11:09 PM, John Hunter jdh2...@gmail.com wrote: If you want the relative fontsizes in the figure window and saved figure to agree, pass the same dpi to the figure command and savefig command.

Re: [Matplotlib-users] Font size and savefig

2009-04-29 Thread Thomas Robitaille
Hi Jae-Jong and John, Thanks for your replies! While experimenting with this to send screenshots, I realized that my default backend was set to MacOSX, not WXAgg. The WXAgg output to the screen actually agrees with the PNG output in terms of font sizes. But the font sizes differ between

[Matplotlib-users] Font size and savefig

2009-04-28 Thread Thomas Robitaille
Hi, I am using the savefig method to save plots - however, I am finding that the font size is systematically larger in the saved images than in the WxAgg window. It seems that text is ~30% larger in PNG and PDF files compared to the WxAgg display (relative to the axes box size). This can

Re: [Matplotlib-users] Font size and savefig

2009-04-28 Thread John Hunter
On Tue, Apr 28, 2009 at 9:52 PM, Thomas Robitaille thomas.robitai...@gmail.com wrote: Hi, I am using the savefig method to save plots - however, I am finding that the font size is systematically larger in the saved images than in the WxAgg window. It seems that text is ~30% larger in PNG

Re: [Matplotlib-users] Font size and savefig

2009-04-28 Thread Jae-Joon Lee
On Tue, Apr 28, 2009 at 11:09 PM, John Hunter jdh2...@gmail.com wrote: If you want the relative fontsizes in the figure window and saved figure to agree, pass the same dpi to the figure command and savefig command. John, I thought the font size (which is specified in points) is independent of