IMHO that's the most straightforward approach. He can use masked array for empty blocks (if contour data doesn't already contain the holes as masked array) and apply inpainting, then draw the land. For more details about inpainting: http://stackoverflow.com/a/17125125/992005
On Wed, Jan 29, 2014 at 6:22 PM, Eric Firing <efir...@hawaii.edu> wrote: > On 2014/01/29 5:41 AM, A Short wrote: >> Is there any work around so it looks like the below image? > > It looks like with any reasonable contouring algorithm, this would > require interpolating into land regions, contouring, and then plotting > the land on top. The key is the interpolation, not the plotting. The > example you show might have been interpolated to a finer grid > everywhere, not just in the missing value regions. ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users