Adding numeric values to imagesc

16 views (last 30 days)
Tasi on 31 Mar 2015
Commented: Image Analyst on 31 Mar 2015
How do I display the actual numeric values of a matrix plotted using 'imagesc'? I would like to have a number displayed in each colored box, representing a value of row and column plotted using 'imagesc' function.

Answers (1)

Image Analyst
Image Analyst on 31 Mar 2015
Image Analyst
Image Analyst on 31 Mar 2015
imagesc() displays pixels. There is no way you can fit all of that into a single pixel and see it on your screen, not even with a microscope. The only way is to blow up the pixels to big patches like I showed you with the im2html program.

Sign in to comment.


Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!