[Matplotlib-users] Using PIL in the Linux!

2008-03-25 Thread sa6113
I want to use PIL in order to load from string to Image , but there is a problem , I can use PIL only in Windows platform whiles I want to use it in Linux and another Platforms. What should I do ? -- View this message in context: http://www.nabble.com/Using-PIL-in-the-Linux%21-tp16296324p1629632

[Matplotlib-users] Multiple Y Axes: Specifying which data coordinates show up in interactive mode...

2008-03-25 Thread Ryan Wagner
Hi guys, I can't figure this one out. Look at the example http://matplotlib.sourceforge.net/screenshots/finance_work2.py When I am moving my mouse over the middle subplot which has two Y axes, the data coordinates are for the volume axis, not the candlestick axis. (Presumably because the

[Matplotlib-users] problems in Inkscape with SVG exported from matplotlib

2008-03-25 Thread Kaushik Ghose
Hi Everyone, I have a peculiar problem, and I wonder if anyone can assist me. I have two figures generated from matplotlib and saved as svgs. They both print fine, and they load in Inkscape just fine. However, when I copy one figure and paste it into the other, the pasted figure's labels and t

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Mark Bakker
John - What you are saying makes sense, because whatever option I give, I always get Vera included in my eps file but nothing else. Thanks for looking into this, Mark On Tue, Mar 25, 2008 at 6:50 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 at 12:02 PM, Michael Droettboom

Re: [Matplotlib-users] PNG filesize

2008-03-25 Thread Simson Garfinkel
Jpeg. On Mar 25, 2008, at 8:12 AM, Einar M. Einarsson wrote: > > Hi all, > > I'm trying to find ways to make the file-size of my PNG images > smaller. > > When I generate my 660*440px image I get a big 168kb file. > (8bit RGB color model, has an alpha channel (need that) but no > interlacing s

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Jouni K . Seppänen
Michael Droettboom <[EMAIL PROTECTED]> writes: > One possible solution is to calculate a hash of the file and key off > of that (with an I/O penalty, of course). I vaguely recall that keying > off of the Postscript name embedded in the file wasn't good enough. How about checking first the size of

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Michael Droettboom
Hmm... That fix was in there in the first place to work around another Windows (well, case-insensitive filesystem) -related bug, in that occasionally the same font would get included with different "paths", and therefore get included twice leading to other Postscript problems. One possible solu

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Jouni K . Seppänen
"John Hunter" <[EMAIL PROTECTED]> writes: > Michael: if you let me know better what this key is supposed to be > doing (can we not simply use the filename for windows?) then I can > attempt or test some fixes. I seem to recall that there was some problem with case-insensitive file systems. On OS

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Jouni K . Seppänen
[EMAIL PROTECTED] writes: > Michael Droettboom <[EMAIL PROTECTED]> writes: >> All the magic happens in "convert_ttf_to_ps", which is C code, called >> from backend_ps.py. I'd start by seeing if that function is even >> called, and if not, why... > > One possible source of platform-specific issu

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Jouni . Seppanen
Michael Droettboom <[EMAIL PROTECTED]> writes: > All the magic happens in "convert_ttf_to_ps", which is C code, called > from backend_ps.py. I'd start by seeing if that function is even > called, and if not, why... One possible source of platform-specific issues is cbook.get_realpath_and_stat,

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread John Hunter
On Tue, Mar 25, 2008 at 12:50 PM, John Hunter <[EMAIL PROTECTED]> wrote: > result = self._cache.get(path) > if result is None: > realpath = os.path.realpath(path) > stat = os.stat(realpath) > stat_key = (stat.st_ino, stat.st_dev) The hackish:

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread John Hunter
On Tue, Mar 25, 2008 at 12:02 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > The *intention* is that the fonts *should* be included (with the > exception of ps.useafm == True). That was definitely not a deliberate > change. > > However, as one of the ones who hasn't been able to reproduce

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Michael Droettboom
The *intention* is that the fonts *should* be included (with the exception of ps.useafm == True). That was definitely not a deliberate change. However, as one of the ones who hasn't been able to reproduce this problem, I'm afraid I'm not of much help. From reading the code, I'm still complet

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce

2008-03-25 Thread Mark Bakker
I know. In version 0.90.1 (and earlier) all greek symbols were included in the EPS. Now they are not anymore, and I cannot get any of the options to include them. Does anybody know how to fix this? Mark > > Date: Tue, 25 Mar 2008 10:43:43 -0400 > From: Alan G Isaac <[EMAIL PROTECTED]> > Subject:

Re: [Matplotlib-users] Labels in a dynamic graph

2008-03-25 Thread John Hunter
On Tue, Mar 25, 2008 at 11:39 AM, Amit Finkler <[EMAIL PROTECTED]> wrote: > I am using matplotlib to dynamically plot a graph with both my x and y > points taken from a measurement device. That is to say, in each iteration of > my while loop I'm reading two variables which I then want to plot wit

Re: [Matplotlib-users] Install problem on Leopard

2008-03-25 Thread Steve Lianoglou
Hi, On Mar 25, 2008, at 12:23 PM, Christopher Barker wrote: > > To summarize where we are at with OS-X installer: > > The binary egg that Charlie built is supposed to work with Python 2.5, > either Apple or python.org version on OS-X 10.5, and pythonorg version > on OS-X 10.3.9 and 10.4.* > > Howe

Re: [Matplotlib-users] Labels in a dynamic graph

2008-03-25 Thread Amit Finkler
John Hunter wrote: > On Sun, Mar 23, 2008 at 3:54 AM, Amit Finkler <[EMAIL PROTECTED]> wrote: > > >> I am using matplotlib to dynamically plot a graph with both my x and y >> points taken from a measurement device. That is to say, in each iteration of >> my while loop I'm reading two variables

[Matplotlib-users] OT warning! Re: Plotting in C++

2008-03-25 Thread Christopher Barker
Sorry, this really is OT, but I've been doing some research on this issue, so I thought I see what folks here think: Francesco Biscani wrote: > However the C++ programming style which is > sometimes referred to as "modern" C++ OK, so I'll take it as a given for the moment that Modern C++ is

Re: [Matplotlib-users] Install problem on Leopard

2008-03-25 Thread Christopher Barker
To summarize where we are at with OS-X installer: The binary egg that Charlie built is supposed to work with Python 2.5, either Apple or python.org version on OS-X 10.5, and pythonorg version on OS-X 10.3.9 and 10.4.* However, for some odd reason none of us understand, under some circumstance

[Matplotlib-users] PNG filesize

2008-03-25 Thread Einar M. Einarsson
Hi all, I'm trying to find ways to make the file-size of my PNG images smaller. When I generate my 660*440px image I get a big 168kb file. (8bit RGB color model, has an alpha channel (need that) but no interlacing scheme) Here it is: http://metphys.org/eme/T05.png I'm using the savefig method

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce this bug?

2008-03-25 Thread Mark Bakker
Well, that is odd. The *chi* letter doesn't show up with GSView, or Preview on the Mac. What's going on? Mark On Tue, Mar 25, 2008 at 3:19 PM, Jim Vickroy <[EMAIL PROTECTED]> wrote: > Mark Bakker wrote: > > Thanks to Fred, Chris, and JV for reproducing this bug. > We all get the same eps file, t

Re: [Matplotlib-users] Labels in a dynamic graph

2008-03-25 Thread John Hunter
On Sun, Mar 23, 2008 at 3:54 AM, Amit Finkler <[EMAIL PROTECTED]> wrote: > I am using matplotlib to dynamically plot a graph with both my x and y > points taken from a measurement device. That is to say, in each iteration of > my while loop I'm reading two variables which I then want to plot with

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce this bug?

2008-03-25 Thread Alan G Isaac
On Tue, 25 Mar 2008, Jim Vickroy apparently wrote: > I loaded the eps file in Adobe Photoshop and the chi > letter **was** displayed along the x-axis. -- jv Sounds like perhaps the symbol is not embedded in the EPS file. Cheers, Alan Isaac ---

Re: [Matplotlib-users] I really need help about installing matplotlib.

2008-03-25 Thread Alan G Isaac
On Tue, 25 Mar 2008, Chris Withers apparently wrote: > Install NumPy from here: > http://downloads.sourceforge.net/numpy/numpy-1.0.4.win32-p3-py2.5.exe I missed the OP's query, so just for insurance: use the p3 version if you have a Pentium 3 (no SSE2 support). On newer Pentiums, you do not need

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce this bug?

2008-03-25 Thread Jim Vickroy
Mark Bakker wrote: Thanks to Fred, Chris, and JV for reproducing this bug. We all get the same eps file, that doesn't show the greek symbols produced with mathtext. And we all do get correct results on the screen (using Tk) and in pdf and png files. I loaded the *eps* file in Adobe Photoshop an

Re: [Matplotlib-users] ipython, pylab quitting again after first time

2008-03-25 Thread Michael Droettboom
Can you attach the traceback? Cheers, Mike Wolfgang Kerzendorf wrote: > Hello, > > I have some trouble with ipython and matplotlib. I create a figure in > one of my functions that I call from ipython. The first time it runs > fine and I can use the figure interactively (selecting/ deselcting

Re: [Matplotlib-users] I really need help about installing matplotlib.

2008-03-25 Thread Chris Withers
lovegf86 wrote: > What is the problem? > Do I need to update numpy? > Please help me, I am so desperate.. Install Python 2.5 from here: http://python.org/ftp/python/2.5.2/python-2.5.2.msi Install NumPy from here: http://downloads.sourceforge.net/numpy/numpy-1.0.4.win32-p3-py2.5.exe Install the w

[Matplotlib-users] ipython, pylab quitting again after first time

2008-03-25 Thread Wolfgang Kerzendorf
Hello, I have some trouble with ipython and matplotlib. I create a figure in one of my functions that I call from ipython. The first time it runs fine and I can use the figure interactively (selecting/ deselcting points and so on). The second time I run it, the code doesnt stop but continu

Re: [Matplotlib-users] Runtime Error

2008-03-25 Thread Darren Dale
On Monday 24 March 2008 01:52:27 pm Brook Lin wrote: > After installation, I only ran a simple code attached below. I found that I > got this run time error from "from pylab import *". > > I did go through what Mark Hamilton posted: > Index: cutils.py > =

Re: [Matplotlib-users] Labels in a dynamic graph

2008-03-25 Thread Matthias Michler
Hello Amit, On Sunday 23 March 2008 09:54, Amit Finkler wrote: > Hi everyone, > > > I am using matplotlib to dynamically plot a graph with both my x and y > points taken from a measurement device. That is to say, in each > iteration of my while loop I'm reading two variables which I then want > to

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-25 Thread Matthias Michler
Hey Chris, On Saturday 22 March 2008 03:36, Chris Withers wrote: > Matthias Michler wrote: > > maybe something like the following helps you: > > - > > from pylab import * > > from time import sleep > > > > ion(

Re: [Matplotlib-users] can any windows 0.91.2 user reproduce this bug?

2008-03-25 Thread Mark Bakker
Thanks to Fred, Chris, and JV for reproducing this bug. We all get the same eps file, that doesn't show the greek symbols produced with mathtext. And we all do get correct results on the screen (using Tk) and in pdf and png files. It seems not to work on windows, while it used to work on versions 0