Re: [Matplotlib-users] exact figure size frustration

2012-01-08 Thread Ethan Swint
On 1/8/2012 2:29 AM, Eric Firing wrote: > On 01/07/2012 07:01 PM, Ethan Swint wrote: >> Hi, list- >> >> This question has been asked before, but all of my search results don't >> address my problem: >> >> fig = figure(1, figsize=(3.25, 3)) >> plot([0,1,5,2,9]) >> title('title') >> xlabel('xAxis'

Re: [Matplotlib-users] exact figure size frustration

2012-01-07 Thread Eric Firing
On 01/07/2012 07:01 PM, Ethan Swint wrote: > Hi, list- > > This question has been asked before, but all of my search results don't > address my problem: > > fig = figure(1, figsize=(3.25, 3)) > plot([0,1,5,2,9]) > title('title') > xlabel('xAxis') > ylabel('yAxis') > fig.savefig('test.png',dpi=600)

[Matplotlib-users] exact figure size frustration

2012-01-07 Thread Ethan Swint
Hi, list- This question has been asked before, but all of my search results don't address my problem: fig = figure(1, figsize=(3.25, 3)) plot([0,1,5,2,9]) title('title') xlabel('xAxis') ylabel('yAxis') fig.savefig('test.png',dpi=600) The resulting figure is 2040x1890 pixels, or 3.4"x3.15", and