On 2/1/12 9:15 AM, Benjamin Root wrote:
On Wed, Feb 1, 2012 at 9:59 AM, Alexis Praga <[email protected] <mailto:[email protected]>> wrote:Hi, I have not found any documentation on plotting non regular data with basemap *without* interpolation. Plotting scattered data on the sphere works fine, but the size of each point seems to be limited, so there are "holes". Is there an option in basemap for that ? Alexispcolor might be what you want (not pcolormesh()). I use it to plot radar data when there might be gaps in the coverage.Ben Root
To do this you will have to bin your data into rectangular grid boxes, filling a masked array (with the grid boxes that have no data masked). There's some code to this at
http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : [email protected] 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
