Print number overlay onto imagesc

3 views (last 30 days)
Hi all,
I have a matrix M, with discrete values 1:7, and I create an easy colormap to visualize it with imagesc(M).
Now I would like to make the matrix possible to read also if printed in black and white and from colorblind people. How can I print on top of each square the numerical value that the matrix has on that location?
Thank you very much!

Accepted Answer

Image Analyst
Image Analyst on 19 Mar 2022

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!