I can’t run the code because of missing data.
text(x,y,compose('%.2f',c))
Use the most appropriate format specifier for whatever ‘c’ is.
If you don’t have compose, use undocumented sprintfc function with the same syntax.
.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!