Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread Wayne E. Harlan
Eric: I have never seen any software which dealt with non uniform DPI settings, although that is always a possibility. And all the displays I have ever worked on/with have been the same for both H and V. ( I am a display engineer with over 25 years experience in CRT displays and a bit in flat

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread Eric Firing
John Hunter wrote: > On Jan 31, 2008 12:54 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > >> Screens vary. The screen on my laptop has about 130 dpi. Desktop flat >> panels will usually have a smaller value than that. For example, an old >> "15-inch" flat panel with 1024/768 pixels is actually abo

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread Alan G Isaac
> On Jan 31, 2008 9:09 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote: >> So, to take an example, suppose I set the figsize=(6,4.5) >> and dpi = 80. Then I will get a 480px by 360px figure. >> So if this displays on a 120 dpi monitor it will display >> as roughly 4" by 3". And if I print it unmodif

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread John Hunter
On Jan 31, 2008 9:09 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote: > So, to take an example, suppose I set the figsize=(6,4.5) > and dpi = 80. Then I will get a 480px by 360px figure. > So if this displays on a 120 dpi monitor it will display > as roughly 4" by 3". And if I print it unmodified to

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread Alan G Isaac
On Wed, 30 Jan 2008, "Wayne E. Harlan" apparently wrote: > The figure size determines the eventual size of the figure > where it will be displayed. You should set that with > "figsize=(x,y)" before you actually plot. Then, and very > importantly, you should set the DPI for the medium where >

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread Alan G Isaac
On Thu, 31 Jan 2008, John Hunter apparently wrote: > And it is not unusual to have a different DPI in the > horizontal and vertical directions. In order to support > true physical sizes on the screen, we would need to > support different dpis in the two directions. Does that mean that one sho

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread John Hunter
On Jan 31, 2008 12:54 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Screens vary. The screen on my laptop has about 130 dpi. Desktop flat > panels will usually have a smaller value than that. For example, an old > "15-inch" flat panel with 1024/768 pixels is actually about 12 inches > wide, so dp

Re: [Matplotlib-users] Subplot Questions

2008-01-30 Thread Eric Firing
Alan G Isaac wrote: > On Mon, 28 Jan 2008, Manuel Metz apparently wrote: >> fig = pylab.figure(figsize=(6,10), dpi=96) >> [...] >> pylab.savefig("filename.eps", dpi=96) > > A couple questions. > > 1. The help for figure says that the dpi argument > determines the "resolution". Suppose I am prod

Re: [Matplotlib-users] Subplot Questions

2008-01-30 Thread Wayne E. Harlan
Alan: The figure size determines the eventual size of the figure where it will be displayed. You should set that with "figsize=(x,y)" before you actually plot. Then, and very importantly, you should set the DPI for the medium where you are viewing the figure. A computer display will probabl

Re: [Matplotlib-users] Subplot Questions

2008-01-30 Thread Alan G Isaac
On Mon, 28 Jan 2008, Manuel Metz apparently wrote: > fig = pylab.figure(figsize=(6,10), dpi=96) > [...] > pylab.savefig("filename.eps", dpi=96) A couple questions. 1. The help for figure says that the dpi argument determines the "resolution". Suppose I am producing a PNG file for screen display

Re: [Matplotlib-users] Subplot Questions

2008-01-28 Thread Manuel Metz
Cheng-Kong Wu wrote: > Dear all, > > I am working on sending vibration results to two > plots: subplot(211) and subplot(212). I have the > following questions: > > 1. How to define the size of the figure? I will > eventually import the figure into Microsoft Word, and > I hope I can fit the figure

[Matplotlib-users] Subplot Questions

2008-01-27 Thread Cheng-Kong Wu
Dear all, I am working on sending vibration results to two plots: subplot(211) and subplot(212). I have the following questions: 1. How to define the size of the figure? I will eventually import the figure into Microsoft Word, and I hope I can fit the figure into one page. 2. If I want to make b