Re: Contouring categorical field

From: Christian Pagé <page.christian_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 11 2011 - 15:35:02 MDT

Thanks Dennis. I saw that nice Application example page but, if I am not
mistaken they are all using RasterFill?
Is it possible to use rather the contour algorithm instead of the raster,
specifying the interpolation method?

Christian

On Mon, Apr 11, 2011 at 23:27, Dennis Shea <shea@ucar.edu> wrote:

> 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:35:34 2011

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