Contour values to label. This property contains the contour values where text labels are placed. By default, these values are the same as those contained in the LevelList property, which define where the contour lines are drawn. Note that there must be an equivalent contour line to display a text label.
For example, the following statements create and label a contour plot:
[c,h]=contour(peaks);
clabel(c,h)
You can get the LevelList property to see the contour line values:
get(h,'LevelList')
Suppose you want to view the contour value 4.375 instead of the value of 4 that the contour function used. To do this, you need to set both the LevelList and TextList properties: