Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Labelled contour
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Luu Quang Hung

Posts: 1
Registered: 12/4/12
Labelled contour
Posted: Dec 4, 2012 7:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.