Re: [Matplotlib-users] use shapefile to create a mask?

2011-11-03 Thread Matt S.
I've used Pyshapelib and Polygon to do this type of analysis in the past. Thuban may get ya what you need. On Thu, Nov 3, 2011 at 3:40 PM, questions anon wrote: > Hi All, > Is there a way to select only the values within a particular shapefile to > analyse. > I would like to do something like: >

Re: [Matplotlib-users] use shapefile to create a mask?

2011-11-03 Thread Paul Hobson
To the best of my knowledge, this beyond the scope of matplotlib. Scipy or Shapely *might* have something for you, but you best bet is to look into the raster clipping functionality of GDAL/OGR. Hope that helps, -paul On Thu, Nov 3, 2011 at 3:40 PM, questions anon wrote: > Hi All, > Is there a w

[Matplotlib-users] use shapefile to create a mask?

2011-11-03 Thread questions anon
Hi All, Is there a way to select only the values within a particular shapefile to analyse. I would like to do something like: array=numpyarraycoveringtemperatureofwholestate shapefile=forestedregions.shp newarray=ma.masked_values(array, shapefile) meantemperatureofforestedregions=MA.mean(newarray

Re: [Matplotlib-users] Ternary Plot

2011-11-03 Thread Joe Kington
The link on Nabble is broken, so here's (I think) a fixed version. It looks like the name of the branch was changed slightly at some point. https://github.com/kdavies4/matplotlib/compare/master...ternary2 Cheers, -Joe On Thu, Nov 3, 2011 at 3:14 PM, Benjamin Root wrote: > > > On Thu, Nov 3,

Re: [Matplotlib-users] Build MPL with VS 2008 problem

2011-11-03 Thread Mads Ipsen
On 11/03/2011 04:34 PM, Christoph Gohlke wrote: > > On 11/3/2011 6:45 AM, Mads Ipsen wrote: >> On 11/02/2011 09:46 PM, Christoph Gohlke wrote: >>> On 11/2/2011 1:39 PM, Mads Ipsen wrote: On 11/02/2011 09:28 PM, Christoph Gohlke wrote: > On 11/2/2011 1:11 PM, Mads Ipsen wrote: >> On 11/

Re: [Matplotlib-users] Ternary Plot

2011-11-03 Thread Benjamin Root
On Thu, Nov 3, 2011 at 2:58 PM, elmar werling wrote: > Hi, > > could not found anything like plot_ternary() in the matplotlib > documentation. Is there an easy to use method to plot data points and > lines in a ternary plot using matplotlib? > > Any hint is wellcome > > Elmar > > This is a reques

Re: [Matplotlib-users] Animation module

2011-11-03 Thread Benjamin Root
On Thu, Nov 3, 2011 at 12:51 PM, Stuart Mumford wrote: > Hello, > > I discovered the (wonderful) animation module in the v1.1 release today. > > However I think I may have quickly outgrown it a bit! > > I am plotting some simulation data see: > http://dl.dropbox.com/u/2796140/mhdmodes_3.mp4 for an

[Matplotlib-users] Ternary Plot

2011-11-03 Thread elmar werling
Hi, could not found anything like plot_ternary() in the matplotlib documentation. Is there an easy to use method to plot data points and lines in a ternary plot using matplotlib? Any hint is wellcome Elmar -- RSA(R)

[Matplotlib-users] Animation module

2011-11-03 Thread Stuart Mumford
Hello, I discovered the (wonderful) animation module in the v1.1 release today. However I think I may have quickly outgrown it a bit! I am plotting some simulation data see: http://dl.dropbox.com/u/2796140/mhdmodes_3.mp4 for an example made with the animation class. There is one thing missing f

Re: [Matplotlib-users] Build MPL with VS 2008 problem

2011-11-03 Thread Christoph Gohlke
On 11/3/2011 6:45 AM, Mads Ipsen wrote: > On 11/02/2011 09:46 PM, Christoph Gohlke wrote: >> On 11/2/2011 1:39 PM, Mads Ipsen wrote: >>> On 11/02/2011 09:28 PM, Christoph Gohlke wrote: On 11/2/2011 1:11 PM, Mads Ipsen wrote: > On 11/02/2011 08:43 PM, Michael Droettboom wrote: >> On 1

Re: [Matplotlib-users] Build MPL with VS 2008 problem

2011-11-03 Thread Mads Ipsen
On 11/02/2011 09:46 PM, Christoph Gohlke wrote: On 11/2/2011 1:39 PM, Mads Ipsen wrote: On 11/02/2011 09:28 PM, Christoph Gohlke wrote: On 11/2/2011 1:11 PM, Mads Ipsen wrote: On 11/02/2011 08:43 PM, Michael Droettboom wrote: On 11/02/2011 01:34 PM, Mads Ipsen wrote: On 11/02/2011 05:50 PM,

Re: [Matplotlib-users] Certain annotation parameters cause strange error

2011-11-03 Thread Jae-Joon Lee
I believe I fixed this in this pull request. https://github.com/matplotlib/matplotlib/pull/566 Unfortunately, I don't think there is a easy workaround other than not using the "fancy" arrow style. Regards, -JJ On Sun, Oct 30, 2011 at 1:51 PM, Brendan Barnwell wrote: >        I encountered a

Re: [Matplotlib-users] PyPI has version 1.0.1

2011-11-03 Thread John Hunter
On Nov 2, 2011, at 10:47 PM, Benjamin Root wrote: > > > On Wednesday, November 2, 2011, John Hunter wrote: > > On Wed, Nov 2, 2011 at 10:02 PM, Benjamin Root wrote: > >>> I just noticed that PyPI lists matplotlib 1.0.1 as the latest version, so > >>> pip and easy_install install version 1