Re: Set value or colour for non existing data in contourplot?

From: Bjoern Maronga <maronga_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 08 2010 - 04:11:52 MST

Hi,

I'm sorry, but I just don't get it.

Using cnMissingValFillColor sets the color for missing values in the plot. So
this should work for you. However, if you have available data, NCL will of
course display this data. Otherwise these data points are missing and will be
filled with their respective fill color. I can only guess that you might want
to fill data points which contain other values than FillValue. In this case,
just set those data points to missing value, e.g. something like

data = where(data.gt.1.0,data,data@_FillValue)

will set all data points with values > 1.0 to missing values.

Maybe you explain your problem a little bit clearer.

Regards,

Björn

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 8 04:12:13 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 08 2010 - 12:07:42 MST