The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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);

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:

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

Quang Hung

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.