[Matplotlib-users] Failure compiling MPL on Snow Leopard

2010-03-08 Thread Jeremy Conlin
I am trying to compile MPL on Snow Leopard without success. I have a fairly fresh system (10.6.2) with python.org 2.6.4 installed. I have downloaded the MPL trunk with svn. I had to make a small change to the make.osx file because there are some extra ". However I still can't get MPL to compile

[Matplotlib-users] Working a piece at a time.

2010-03-08 Thread David Arnold
All, I'm using Aptana (Eclipse) and pydev on a macbook pro. I'm trying to work with the following: http://matplotlib.sourceforge.net/examples/user_interfaces/fourier_demo_wx.html Now, this is a fairly complicated and interconnected piece of coding. When I am trying to learn something, I like t

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-08 Thread gely
Christopher Barker wrote: > > gely wrote: >>> As I think about it, I'm going to have to write code to do this (contour >>> an unstructured triangular mesh) sometime soon, so please let me know if >>> it does exist already -- if not I'll try to remember to contribute it >>> when I get around

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-08 Thread Christopher Barker
gely wrote: >> As I think about it, I'm going to have to write code to do this (contour >> an unstructured triangular mesh) sometime soon, so please let me know if >> it does exist already -- if not I'll try to remember to contribute it >> when I get around to it. >> >> -Chris >> > > Chris, I f

Re: [Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-08 Thread Jeff Whitaker
antonv wrote: > Hi Jeff, > > Here is the whole script: > http://old.nabble.com/file/p27826457/_test_shiftgrid.py _test_shiftgrid.py > And here are the grib data files: > http://socalscubainfo.com/downloads/GRIB2_files.zip > > Also, if there is not too much to ask, is there a sample anywhere that

Re: [Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-08 Thread David Goldsmith
--- On Fri, 3/5/10, David Goldsmith wrote: > --- On Fri, 3/5/10, Friedrich Romstedt > wrote: > > > NB: You lose at most 3 pixels at the border of your > image > > when drawing > > it the method you proposed, because the int floor'ing > will > > cause that. > > if you can show me how to avoid >

Re: [Matplotlib-users] contourf doesn't like a rectangular grid

2010-03-08 Thread Shrividya Ravi
Hi there, I think I made a mistake with putting in a tuple in my first email, but here is the error output from the contourf that I call within a script. I use this script before with a square grid and there is no problem. Anyway, after your email, I played with the script again and I think I have

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-08 Thread gely
Christopher Barker wrote: > > Erik Schweller wrote: >> My overall goal is to generate contour plots for a wide range of input >> data. The data points are not regularly spaced and do not align to >> any grid. The data points represent measurements taken from a model >> that can take on a varie

[Matplotlib-users] Making an Axis Label like a legend

2010-03-08 Thread Alex S
Hello again, I've got a question about axis labels, specifically y axis labels for multiple lines. What I'd ideally like to do is take something like the legends shown in the attached picture, rotate them 90 degrees counter clockwise, then stick them to the left of the Y axes to use it as a label

Re: [Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-08 Thread antonv
Hi Jeff, Here is the whole script: http://old.nabble.com/file/p27826457/_test_shiftgrid.py _test_shiftgrid.py And here are the grib data files: http://socalscubainfo.com/downloads/GRIB2_files.zip Also, if there is not too much to ask, is there a sample anywhere that shows how to use shiftgrid

Re: [Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-08 Thread Jeff Whitaker
antonv wrote: > Hi Jeff, > > Thanks for the quick reply! I've updated to the latest shiftgrid and now I > get the chart :D > I still have a small issue as there is a half degree sliver missing from the > mapping at the greenwich meridian. Any idea how to solve that issue? > > Here is an image show

Re: [Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-08 Thread antonv
Hi Jeff, Thanks for the quick reply! I've updated to the latest shiftgrid and now I get the chart :D I still have a small issue as there is a half degree sliver missing from the mapping at the greenwich meridian. Any idea how to solve that issue? Here is an image showing that (above england): h

Re: [Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-08 Thread Jeff Whitaker
antonv wrote: > Hi all, > > I am getting a 'cyclic point not included' error using shiftgrid on a grib > file from NOAA. I've checked and it seems that the file has the lons from 0 > to 359.5 every .5 degree but I get that error whenever I try to run this. > > What I need to achieve is to shift th

[Matplotlib-users] Multiple Y Axes redux

2010-03-08 Thread Alex S
Hi there, I know this has been discussed in the past, but I was looking through some of the history and I'm not sure what the exact situation is. I think multiple y axes on the same side of the graph is unsupported officially, but can be hacked together somehow, is that right? Is there an exampl

[Matplotlib-users] shiftgrid 'cyclic point not included' error

2010-03-08 Thread antonv
Hi all, I am getting a 'cyclic point not included' error using shiftgrid on a grib file from NOAA. I've checked and it seems that the file has the lons from 0 to 359.5 every .5 degree but I get that error whenever I try to run this. What I need to achieve is to shift the grid from 0 / 360 to -1