Date: Dec 4, 2012 7:22 AM
Author: Luu Quang Hung
Subject: Labelled contour

Hi colleague,

I am trying to plot contour with labels of levels with some missing (NaN) data.

[c,h] = contourf(lon,lat,data,level);
clabel(c,h);

However, the clabel put unwanted value at NaN-borders as well. I expect it is 'smart' enough to draw within the valid data domain, but it doesn't.

A screenshot:

http://classbus.com/clabel.png

Could anyone help me to make a contour map without label on the NaN-border?

Thanks.
Quang Hung