Contouring categorical field

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

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
Received on Tue Apr 12 07:21:33 2011

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