How do I add a grid over this image?
Ältere Kommentare anzeigen
I'm wanting to add a 10x10 grid over the image in the figure below. I produced this density plot using image(), but wish to add an outline to each small square. I have seen examples of how to add a grid over an image, but this involves modifying columns and rows of pixels and setting their colour to black, however, since each small square in my figure is a pixel, this doesnt work. Any help/suggestions anyone may have would be greatly appreciated.
Thanks

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!