[Matplotlib-users] matplotlib - fill open path inside U.S. borders - set_clip_path appro ach

2011-10-03 Thread Isidora
Hi again, still trying to accomplish the filling of certain paths only inside U.S. It ocurred to me that set_clip_path could work but so far, I have not been able to show the curve in the map. Could someone point out what is missing? Thanks #!/usr/bin/env python """http://www.scipy.org/Coo

[Matplotlib-users] matplotlib - fill open path inside U.S. borders + sample map

2011-09-30 Thread Isidora
Hi Jeff, I computed the convex hull for the points in paths returned by Basemap.drawcountries() and I got the attached map (convex hull algorithm: http://www.scipy.org/Cookbook/Finding_Convex_Hull). You can see the magenta convex hull polygon with U.S. border lines drawn in black as a reference

Re: [Matplotlib-users] matplotlib - fill open path inside U.S. borders + sample map

2011-09-29 Thread Filipe Pires Alvarenga Fernandes
On Wed, Sep 28, 2011 at 16:39, Jeff Whitaker wrote: > On 9/28/11 2:19 PM, Isidora wrote: >> Hi Filipe, >> >> I have just seen your answers.  I am trying to plot on a background GIF map, >> lines like the ones you can see in >> http://www.spc.noaa.gov/products/outlook/day1probotlk_2000_wind.gif.

Re: [Matplotlib-users] matplotlib - fill open path inside U.S. borders + sample map

2011-09-28 Thread Jeff Whitaker
On 9/28/11 2:19 PM, Isidora wrote: > Hi Filipe, > > I have just seen your answers. I am trying to plot on a background GIF map, > lines like the ones you can see in > http://www.spc.noaa.gov/products/outlook/day1probotlk_2000_wind.gif. I can > plot the lines as you see them in this link witho

[Matplotlib-users] matplotlib - fill open path inside U.S. borders + sample map

2011-09-28 Thread Isidora
Hi Filipe, I have just seen your answers. I am trying to plot on a background GIF map, lines like the ones you can see in http://www.spc.noaa.gov/products/outlook/day1probotlk_2000_wind.gif. I can plot the lines as you see them in this link without a problem. However, because those lines a

[Matplotlib-users] matplotlib - fill open path inside U.S. borders

2011-09-26 Thread Isidora
Hi, I am trying to plot filled paths over a U.S. map. I plot the given paths, but since these are not closed paths, the filling is truncated at a line drawn between last and first point in the path. I want to extend the path to the United States border instead. I am no expert in matplotlib