Re: Contouring high resolution complicated fields

From: Ivan Lima <ivan_at_nyahnyahspammersnyahnyah>
Date: Thu, 17 Feb 2005 09:09:42 -0500

  You can try setting cnRasterModeOn = True. It will be a lot
  faster but it will produce a bigger output file.

  - Ivan

On Wed, Feb 16, 2005, R. T. Pierrehumbert wrote:

> I routinely need to do 2D shaded maps of tracer fields (like water
> vapor) which
> have a lot of fine-scale structure. If I do an ngl.contour(...) (color
> fill on) of
> a 120x400 field which is spatially simple, it's no problem. However,
> if the field has a lot of fine scale structure -- thin filaments, what
> have you, --
> it takes so long that it's unusable. I think this is probably because
> ngl/ncl
> generates a polygon for each region to be filled, and the perimeters
> can get exponentially large in cases like I'm doing.
> Is there any way to do a fast color-shaded map of a high resolution
> complicated field? I don't need contour lines.Color fill by itself
> is good enough.
> The same field plots fine in Matlab (contourf) or in vcs, so I imagine
> these packages are using a different algorithm to generate the map.
> --Ray
> _______________________________________________
> pyngl-talk mailing list
pyngl-talk mailing list
Received on Thu Feb 17 2005 - 07:09:42 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:31:52 MST