Draw borders inside imagesc matrix

16 次查看(过去 30 天)
Hi all,
I'm trying to draw the borders inside the following image:
https://www.dropbox.com/s/uy6g0eqrovkquyl/Matrix.jpg
The results should be something like the following one:
https://www.dropbox.com/s/36q55kvl4ibua4b/Matrix%20OUTPUT.jpg
The image is generated with imagesc from a matrix of values.
Thanks a lot.
Best regards,
Raúl.

采纳的回答

Nitin
Nitin 2013-6-21
Not sure if this solves your problem but did you check grid on There is an example http://www.mathworks.com.au/help/matlab/ref/grid.html

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by