Re: Contouring categorical field

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 11 2011 - 15:27:34 MDT

http://www.ncl.ucar.edu/Applications/classification.shtml

On 4/11/11 3:20 PM, Christian Pagé wrote:
> Hi all,
>
> I want to plot, with NCL, a 2D field by contouring using cnFillOn.
> However, since the field is a categorical field (values 1 to 6), it
> causes problem because the interpolation
> that is used by the contouring algorithm is not nearest neighbor, and it
> generates in-between fictive values (e.g. field going from 1 to 6
> directly, all colors in-between are shown).
>
> Is it possible to plot that kind of field, without using RasterFill?
> Is there a way to specify the interpolation method the conpack is using?
>
> Thanks!
>
> Best regards,
>
> Christian
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 12 07:27:42 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 19 2011 - 18:32:03 MDT