This function does the same as clabel(ch,'manual').
It was created because sometimes clabel puts not the real values but rounded !?
See the screenshot for the difference between m_clabel and clabel:
[cs,ch] = contour(peaks,5);
m_clabel(ch);
clabel(cs,'manual');
M MA (2021). m_clabel (https://www.mathworks.com/matlabcentral/fileexchange/8605-m_clabel), MATLAB Central File Exchange. Retrieved .
Inspired: scattertext
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.