Re: [Matplotlib-users] figuresize and dpi

2009-05-12 Thread Jouni K . Seppänen
Chaitanya Krishna writes: > I define the figure size as fig = plt.figure(figsize=(7,0.75*7)), then > plot the figure and save it as both a png and an eps. When you save as png, you can set the dpi, and if you use e.g. 100, the figure will be 700 pixels wide; if you use 75, it will be 525 pixels

Re: [Matplotlib-users] figuresize and dpi

2009-05-12 Thread Alan G Isaac
On 5/12/2009 9:57 AM Chaitanya Krishna apparently wrote: > I define the figure size as fig = plt.figure(figsize=(7,0.75*7)), then > plot the figure and save it as both a png and an eps. > If I then measure the size of the figure as displayed (displayed with > 0 zoom) on the computer screen with a r

[Matplotlib-users] figuresize and dpi

2009-05-12 Thread Chaitanya Krishna
Hi all, I define the figure size as fig = plt.figure(figsize=(7,0.75*7)), then plot the figure and save it as both a png and an eps. If I then measure the size of the figure as displayed (displayed with 0 zoom) on the computer screen with a ruler, it does not measure 7 in. Why is it so? Am I doin