Re: [Matplotlib-users] abort trap

2010-06-28 Thread Ranjit Chacko
I tried again by compiling version 2.4.11 of freetype instead of the latest and recompiling matplotlib with that and now I get the following less severe error: Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pack

[Matplotlib-users] abort trap

2010-06-28 Thread Ranjit Chacko
I've been having some trouble with compiling matplotlib on Snow Leopard. I managed to get rid of all my old problems by recompiling everything with gcc-4.2. But now when I import matplotlib.pyplot I get an Abort trap message and python quits. Here is part of the error message I get: Thread 0 Cras

Re: [Matplotlib-users] colorbar rescaling

2010-06-28 Thread Friedrich Romstedt
2010/6/28 Alexander Dietz : > I have a plot, to which I am drawing a colorbar. The standard colorbar > ranges from the values -1 (blue) over 0 (green) to e.g. 1(red). So far so > good. > But now I want to change the colorbar that it shows only the colors between > 0 and 1. What I mean is: the color

Re: [Matplotlib-users] Symbol not found

2010-06-28 Thread Ranjit Chacko
It didn't work. But I may have misunderstood your instructions. Here's the output from compiling matplotlib: http://pastebin.org/363870 Here's what I did. Set export CC=gcc-4.2 Set export MACOSX_DEPLOYMENT_TARGET=10.5 Downloaded and compiled libpng-1.4.3 Downloaded and compiled libfreetype-2.3.12

[Matplotlib-users] colorbar rescaling

2010-06-28 Thread Alexander Dietz
Hi, I hope someone can answer this colorbar related question. I have a plot, to which I am drawing a colorbar. The standard colorbar ranges from the values -1 (blue) over 0 (green) to e.g. 1(red). So far so good. But now I want to change the colorbar that it shows only the colors between 0 and 1

Re: [Matplotlib-users] basemap broken with matplotlib 0.99.3?

2010-06-28 Thread Bill Eaton
>> If you don't mind trying developer releases, use basemap 0.99.5 from >> , which should >> work with numpy 1.4.1. > Success! (well, the import worked) I can also report success with the developer release. Works a treat with numpy 1.4.1. Ve

[Matplotlib-users] zorder for individual points in a scatter plot on a Basemap

2010-06-28 Thread Aman Thakral
Hi, I'm currently using a scatter plot on a Basemap and I'd like to set the zorder of the individual points based on their temperature. The higher the temperature, the higher the zorder. Also, i'm using a colorbar to set the colors for the plot. Here is a snippet of my code: x = np.

Re: [Matplotlib-users] Symbol not found

2010-06-28 Thread Ranjit Chacko
I just tried compiling with the following command: sudo make -f make.osx fetch deps mpl_build mpl_install At first it was failing almost immediately, but then I changed make.osx so that it was fetching zlib-1.2.5 and it got further but still failed. The log is at the link below: http://pastebin.o

Re: [Matplotlib-users] How to save text in vector images as text rather than paths?

2010-06-28 Thread Benjamin Root
Hmm, there is definitely a difference in qualiity. Thanks for the tip!/ Ben Root On Mon, Jun 28, 2010 at 11:46 AM, Eric Firing wrote: > On 06/28/2010 04:30 AM, Benjamin Root wrote: > > Just to note, in Linux, one can use the pdf2ps command. I believe > > I recommend the pdftops command if you

Re: [Matplotlib-users] How to save text in vector images as text rather than paths?

2010-06-28 Thread Eric Firing
On 06/28/2010 04:30 AM, Benjamin Root wrote: > Just to note, in Linux, one can use the pdf2ps command. I believe I recommend the pdftops command if you have it, instead of pdf2ps. At least on my system (ubuntu 10.04), pdf2ps seems to be embedding coarse bit-mapped versions of the fonts. The ou

Re: [Matplotlib-users] interpolation 2d: delaunay and griddata, bad results

2010-06-28 Thread Benjamin Root
The griddata function should be doing delaunay triangulation by default, so the result from griddata should be identical to the second plot. I see that you are using a "mask" for x0, y0, v0. This is unnescessary, as you really want to pass the "flat" arrays. I can not get a masked array from gri

Re: [Matplotlib-users] progress bar?

2010-06-28 Thread C M
On Mon, Jun 28, 2010 at 11:31 AM, Jim Vickroy wrote: > Carlos Grohmann wrote: > > I've been searching but coudn't find any example on how to add a > progress bar to a wxpython+matplotlib app. > I'd like my app to show a progress bar while some gridding and > contouring are being done. Or, if you

Re: [Matplotlib-users] progress bar?

2010-06-28 Thread Jim Vickroy
Carlos Grohmann wrote: I've been searching but coudn't find any example on how to add a progress bar to a wxpython+matplotlib app. I'd like my app to show a progress bar while some gridding and contouring are being done. this is the code I'm using (without preogress bar) funcs = {"Natural

[Matplotlib-users] progress bar?

2010-06-28 Thread Carlos Grohmann
I've been searching but coudn't find any example on how to add a progress bar to a wxpython+matplotlib app. I'd like my app to show a progress bar while some gridding and contouring are being done. this is the code I'm using (without preogress bar) funcs = {"Natural Neighbor":'nn', "Triangul

Re: [Matplotlib-users] How to save text in vector images as text rather than paths?

2010-06-28 Thread Benjamin Root
Just to note, in Linux, one can use the pdf2ps command. I believe Windows users can use GhostScript to convert a pdf into an eps file rather than using Illustrator for a simple conversion process. Ben Root On Sun, Jun 27, 2010 at 2:12 PM, Eric Firing wrote: > On 06/27/2010 08:06 AM, Eliss Park

Re: [Matplotlib-users] Is there a test suite for Matplotlib ?

2010-06-28 Thread Dr. David Kirkby
On 06/28/10 01:37 PM, Michael Droettboom wrote: > There is a set of nose tests installed in matplotlib.tests. It can be > invoked with: > > import matplotlib > matplotlib.test() > > or (from the commandline): > > nosetests matplotlib.tests > > Mike Thank you Mike. We don't have 'noset

Re: [Matplotlib-users] Is there a test suite for Matplotlib ?

2010-06-28 Thread Michael Droettboom
There is a set of nose tests installed in matplotlib.tests. It can be invoked with: import matplotlib matplotlib.test() or (from the commandline): nosetests matplotlib.tests Mike On 06/27/2010 08:24 AM, Dr. David Kirkby wrote: > Matplotlib is used as part of the Sage project, where