Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-13 Thread Mauro Cavalcanti
Dear Sandro, First of all, I apologize for the delay in replying -- yesterday was already late night here and I also had to fight (???) a kernel panic in my Linux box the cause of which is not yet clear (I also had it under Ubuntu Hardy and now it appeared in Intrepid -- under Hardy, I

[Matplotlib-users] multiline LaTeX code

2009-01-13 Thread Ken Schutte
I'm trying to add some more complex LaTeX-rendered equations into a a figure, and having some problems. I've been trying various things with 'usetex', but it seems the problem might be that I can't seem to write the LaTex code on a single line. For example, can you not do: ax.text(0,0,r ... ...

Re: [Matplotlib-users] multiline LaTeX code

2009-01-13 Thread Darren Dale
On Tue, Jan 13, 2009 at 6:53 AM, Ken Schutte kts.li...@gmail.com wrote: I'm trying to add some more complex LaTeX-rendered equations into a a figure, and having some problems. I've been trying various things with 'usetex', but it seems the problem might be that I can't seem to write the

Re: [Matplotlib-users] multiline LaTeX code

2009-01-13 Thread Jouni K . Seppänen
Ken Schutte kts.li...@gmail.com writes: I'm trying to add some more complex LaTeX-rendered equations into a a figure, and having some problems. I've been trying various things with 'usetex', but it seems the problem might be that I can't seem to write the LaTex code on a single line. It

[Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Jon Blower
Hi all, I'm a matplotlib newbie and have recently installed matplotlib as part of the Python(x,y) distribution for Windows. I want to do some image manipulation (e.g. basemap.warpimage()) and my initial installation didn't have the Python Imaging Library (PIL) installed, so I installed this via

Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Mauro Cavalcanti
Dear Dr. Blower, I would by all means suggest the Enthought Python Distribution (http://www.enthought.com/) in place of Python(x,y). EPD already includes PIL, MPL and Basemap (although in a somewhat abridged and outdated version, but this is just a matter of upgrading). Hope this helps. Best

Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Jeff Whitaker
Jon Blower wrote: Hi all, I'm a matplotlib newbie and have recently installed matplotlib as part of the Python(x,y) distribution for Windows. I want to do some image manipulation (e.g. basemap.warpimage()) and my initial installation didn't have the Python Imaging Library (PIL) installed,

[Matplotlib-users] building from source

2009-01-13 Thread Fabio Tonti
Hello everyone, I need some help for building matplotlib from source. I'm using Debian sid on 64bit. I had errors when trying to build version 0.98.5.1 and now it's not gone with 0.98.5.2, so I hope mailing is appropriate. I've appended the whole log. Thanks in advance. Best wishes, Fabio Tonti

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-13 Thread Sandro Tosi
On Tue, Jan 13, 2009 at 13:20, Mauro Cavalcanti mauro...@gmail.com wrote: Dear Sandro, First of all, I apologize for the delay in replying -- yesterday was already late night here and I also had to fight (???) a kernel panic in my Linux box the cause of which is not yet clear (I also had it

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-13 Thread Mauro Cavalcanti
Dear Sandro, After sending you the previous message, I just decided to try one little thing: I used easy_install -U matplotlib and then the latest version (0.98.5.2) was correctly retrieved from the SF repository and properly installed (before followed the instructions you provided yesterday,

[Matplotlib-users] Latest release of Basemap

2009-01-13 Thread Mauro Cavalcanti
Dear Jeff, Sorry for posting this again, but I suppose my previous message may have got lost among many others. I would like to ask you if there are plans to release, as a regular MS-Windows self-installation file, the lastest version of Basemap (0.99.3). It happens that my biogeographic

Re: [Matplotlib-users] Latest release of Basemap

2009-01-13 Thread Jeff Whitaker
Mauro Cavalcanti wrote: Dear Jeff, Sorry for posting this again, but I suppose my previous message may have got lost among many others. I would like to ask you if there are plans to release, as a regular MS-Windows self-installation file, the lastest version of Basemap (0.99.3). It happens

[Matplotlib-users] matlab vs pylab png output

2009-01-13 Thread Martinho MA
Hello, I have a problem saving png files created from data with missing values. The matlab and pylab outputs are very different... pylab resolution is poorer !? the saving commands from matlab and python are similar: matlab: print -dpng -r80 test_matlab.png python:

[Matplotlib-users] Newbie question/closing a figure-window

2009-01-13 Thread Hajas, Wayne
I'm just getting into matplotlib and python. My apologies if I just haven't found the obvious documentation. I am running XP/Enthought Python 2.5/Idle/matplotlib 0.98.5.2 I run one of the scripts from the tutorial: import numpy as np import matplotlib.pyplot as plt

Re: [Matplotlib-users] matlab vs pylab png output

2009-01-13 Thread Darren Dale
Perhaps the interpolation needs to be set to 'nearest'? On Tue, Jan 13, 2009 at 3:33 PM, John Hunter jdh2...@gmail.com wrote: On Tue, Jan 13, 2009 at 12:16 PM, Martinho MA m...@ua.pt wrote: Hello, I have a problem saving png files created from data with missing values. The matlab and

[Matplotlib-users] R: Newbie question/closing a figure-window

2009-01-13 Thread Massimo Sandal
I have the vague remembrance of the fact that IDLE does not play well with matplotlib. Can you try to run the program from the command line and see if it gives the same error? m. -- Massimo Sandal , Ph.D. University of Bologna Department of Biochemistry G.Moruzzi snail mail: Via Irnerio 48,

Re: [Matplotlib-users] Newbie question/closing a figure-window

2009-01-13 Thread Richard Johns
I have had similar experiences with IDLE on both XP and Ubuntu 8.04 and as a result I use IPython as much as possible. On XP I would recommend that you install Python(x,y), 2.1.9, http://www.pythonxy.com/foreword.php which includes IPython(0.9.1) and IDLE(1.2.2) as well as many other useful

Re: [Matplotlib-users] Newbie question/closing a figure-window

2009-01-13 Thread Mauro Cavalcanti
Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards, 2009/1/13 Richard Johns soylen...@tbaytel.net: I have had similar

Re: [Matplotlib-users] Newbie question/closing a figure-window

2009-01-13 Thread Mauro Cavalcanti
Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards, 2009/1/13 Richard Johns soylen...@tbaytel.net: I have had similar

Re: [Matplotlib-users] Manually limiting value ranges

2009-01-13 Thread Christian Lerrahn
Hi, I've figured this out. There was actually invalid input for the range the way my code really was. The code I had posted was completely wrong, anyway. All good now. :) The code p.plot(pvar[t,ipos,:]) ax = gca() ax.set_ylim(-10,10) p.show() works with or without a loop wrapped around it. :)

[Matplotlib-users] rotating plots

2009-01-13 Thread Chris Fonnesbeck
I am trying to produce a plot of data within a discrete number of categories, such as data in a dict: {'a':[0.3, 0.5], 'b':[0.9], 'c':[0.2, 0.4, 0.2]} Except, rather than have the categories along the x-axis, and the values on the y-axis, I need them the other way around. I know in the boxplot()

Re: [Matplotlib-users] Newbie question/closing a figure-window

2009-01-13 Thread Richard Johns
On Tue, 2009-01-13 at 22:43 -0200, Mauro Cavalcanti wrote: Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards,

Re: [Matplotlib-users] plotting collections on an X date axes

2009-01-13 Thread Simson Garfinkel
Hi, Eric. Ah. Just my luck. I always push this stuff in new and unexpected ways. Here's what I'm trying to do --- I want to plot a graph of circles where the size of the circle and color are determined by the data, where the X axis is year/month/day, and the Y axis is just day. (So

Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Jon Blower
Jon: It seems like PIL is not setuptools-aware... Thanks Jeff, this is good to know. I went back and reinstalled Python(x,y) and installed PIL as part of the setup options, then it all worked fine. Very useful to know that sometimes easy_install isn't the right option for installing plugins.