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
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
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
On Tue, 29 Jan 2008, Michael Biester apparently wrote:
> unknown software exception
Did you get a response on this?
(Sorry if I missed it.)
I see no problem on a similar setup with
a slightly older Matplotlib (0.90.1).
Cheers,
Alan Isaac
I am new to matplotlib and I am really impressed.
I have a problem though.
I am not able to get a lower origin in matshow, imshow gives the origin at
bottom when I say origin='lower'
for example
#!/usr/bin/env python
from matplotlib.pylab import *
matshow(rand(64,64),fignum=100,cmap=cm.gray,orig
Hi,
I use matplotlib frequenctly on Python 2.4.x. . Recently changed to Python
2.5.1 (upgraded to numpy 1.0.4, matplotlib 0.91.2, scipy 0.6).
The Tkinter graphics does not work anymore. I tried the code snippet below
and got a blank window and message box:
python.exe unknown software exception
On Jan 30, 2008 4:41 AM, Bernhard Voigt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was using something like this:
>
> f = pylab.figure()
> f.text(.4, .95, 'My Title') # coordinates are window coordinates from 0 to 1
> pylab.subplot(421)
if you do
>>> f.text(.5, .95, 'My Title', horizontalalignme
Hi,
I was using something like this:
f = pylab.figure()
f.text(.4, .95, 'My Title') # coordinates are window coordinates from 0 to 1
pylab.subplot(421)
...
This could be made more robust by checking the extend and location of
the subplots and length of the title...
Cheers! Bernhard
On 1/24/08