Re: [Matplotlib-users] Problem with the position of tick la bels in postscript file

2007-05-04 Thread Zack
Hi Richard, what exactly wrong here? I didn't found anything... On 4 May 2007, Richard Vernhes wrote: > Here is attached the eps file with misaligned labels and grid. > Richard -- Zack - This SF.net email is sponsored by

[Matplotlib-users] wx printing and py2exe examples don't work on py25 wx2.8.3

2007-05-04 Thread Gustavo Borges
Im developing a financial python/wx/sqlite and the client requested me a chart. I first thought about using win32com to call excel but didnt sound so clean to me. I googled a little and found matplot. Seems really great even becouse it could be embedded on WX applications. But since im out of time

Re: [Matplotlib-users] plotting wind-speed time series (was: What kind of chart should I use?)

2007-05-04 Thread John Hunter
On 5/4/07, Alan Jackson <[EMAIL PROTECTED]> wrote: > On Fri, 4 May 2007 12:15:13 -0700 (PDT) > [EMAIL PROTECTED] wrote: > > > Saw this: > > > > http://www.originlab.com/www/products/GraphGallery.aspx?GID=26&s=8&lm=215 > > > > Since I am not interested in wind direction, may be I can use stacked >

Re: [Matplotlib-users] plotting wind-speed time series (was: What kind of chart should I use?)

2007-05-04 Thread Alan Jackson
On Fri, 4 May 2007 12:15:13 -0700 (PDT) [EMAIL PROTECTED] wrote: > Saw this: > > http://www.originlab.com/www/products/GraphGallery.aspx?GID=26&s=8&lm=215 > > Since I am not interested in wind direction, may be I can use stacked > bar-chart. Still, how would I tie plot_data with it though? I

Re: [Matplotlib-users] plotting wind-speed time series (was: What kind of chart should I use?)

2007-05-04 Thread kc106_2005-matplotlib
Saw this: http://www.originlab.com/www/products/GraphGallery.aspx?GID=26&s=8&lm=215 Since I am not interested in wind direction, may be I can use stacked bar-chart. Still, how would I tie plot_data with it though? Regards, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EM

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Robert Kern
Robert Kern wrote: > Christopher Barker wrote: >> Samuel M. Smith wrote: >>> I did not have this problem with the matplotlib on >>> http://pythonmac.org/packages/py25-fat/dmg/matplotlib-0.90.0-py2.5-macosx10.4-2007-02-20.dmg >> That one was probably built with a statically linked freetype, as the

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Robert Kern
Samuel M. Smith wrote: > So the conclusion is pythonmac matplotlib uses a statically linked > freetype so it doesn't look into /usr/local/lib > and Fonnesbeck's scipy superpack matplotlib is using a dynamically > linked freetype which is looking into /usr/local/lib Yes. -- Robert Kern "I ha

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Samuel M. Smith
So the conclusion is pythonmac matplotlib uses a statically linked freetype so it doesn't look into /usr/local/lib and Fonnesbeck's scipy superpack matplotlib is using a dynamically linked freetype which is looking into /usr/local/lib On 4 May 2007, at 12:09 , Robert Kern wrote: > Christophe

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Robert Kern
Christopher Barker wrote: > Samuel M. Smith wrote: >> I did not have this problem with the matplotlib on >> http://pythonmac.org/packages/py25-fat/dmg/matplotlib-0.90.0-py2.5-macosx10.4-2007-02-20.dmg > > That one was probably built with a statically linked freetype, as the > one Apple provides d

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Christopher Barker
Samuel M. Smith wrote: > I did not have this problem with the matplotlib on > http://pythonmac.org/packages/py25-fat/dmg/matplotlib-0.90.0-py2.5-macosx10.4-2007-02-20.dmg That one was probably built with a statically linked freetype, as the one Apple provides doesn't work with MPL. -Chris --

Re: [Matplotlib-users] What kind of chart should I use?

2007-05-04 Thread Christopher Barker
It sounds like you want a 2-d histogram: i.e. bins for each time and speed-range combination. I'm not sure how to plot that as a 3-d plot, but contouring it might work OK. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 vo

Re: [Matplotlib-users] Problem with the position of tick labels in postscript file

2007-05-04 Thread Christopher Barker
Darren Dale wrote: > Maybe you could post your file? Mine looks ok, see attached. A close look at that attached file shows that the grid lines are not quite lined up with the tics -- by about a line width. I suspect that the grid code and tic code are rounding differently or something. -Chris

[Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Samuel M. Smith
I needed to use some function from scipy. It appeared that the easiest way to install it was to use the scipy superpack http://idisk.mac.com/fonnesbeck-Public/ScipySuperpack-PPC-10.4-py2.5.zip After installing ipython --pylab exits with error on startup see below: It appears to be a freetype pr

[Matplotlib-users] What kind of chart should I use?

2007-05-04 Thread kc106_2005-matplotlib
Hi list, I have a set of time series data which is year's worth of wind speed at a particular place (one data point per minute). I want to see how wind speed spreads throughout the day. I can do a scatter char with 24 hours of the day vs wind speed but then I end up with something that's not

Re: [Matplotlib-users] Problem with the position of tick labels in postscript file

2007-05-04 Thread Darren Dale
On Friday 04 May 2007 11:10:32 am Richard Vernhes wrote: > Hi to all, > I'm new to Matplotlib and I noticed a problem concerning the placement of > tick labels when saving a figure to a postscript file. I'm using windows XP > with Matplotlib 0.90.0 and the default setup and backend. I also use > ip

[Matplotlib-users] From list of objects to plotting

2007-05-04 Thread Tommy Grav
I have some code that simplified looks like this: class cKBO(object): def __init__(cls): cls.a = 0. cls.e = 0. lines = open("test.file","r").readlines() nlist = [] for line in lines: obj = cKBO() (a,e) = line.split obj.a = float(a)

Re: [Matplotlib-users] build error on solaris

2007-05-04 Thread Daniel Fan
Hi Nadia, Actually, I have successfully install matplotlib by being patient. I used CC=CC python setup.py build first and when it stops for the compilation of a .c file, I switch to CC=cc python setup.py build and let it run and switches again when it stops. Probably changing the Makefile as you s

[Matplotlib-users] Problem with the position of tick labels in postscript file

2007-05-04 Thread Richard Vernhes
Hi to all, I'm new to Matplotlib and I noticed a problem concerning the placement of tick labels when saving a figure to a postscript file. I'm using windows XP with Matplotlib 0.90.0 and the default setup and backend. I also use ipython with the -pylab option. So, I type plot((1,2,3)) in the shell

Re: [Matplotlib-users] build error on solaris

2007-05-04 Thread Nadia Dencheva
Hi Daniel, I've seen that and the only way I can make Python pick up the right compiler/linker is to modify python/config/Makefile, specifically the fields for CC and CXX CC = gcc CXX = g++ but also on some occasions comment out pic32 CCSHARED= #-xcode=pic32 It is possible that the comp