File Exchange

image thumbnail


version 1.2 (2.08 KB) by Clay Swackhamer
Adds a grid to an image


Updated 15 Oct 2018

View License

imageGrid puts a grid on an image

The number of horizontal and vertical lines and line style can be adjusted. Setting 'method' to 'draw' (default) opens a new figure with the grid drawn onto it. Setting 'method' to 'burn' outputs a new image with the grid burned onto it, which requires the computer vision toolbox. If you don't have the computer vision system toolbox don't specify a method, and then you can manually save the figure.

Cite As

Clay Swackhamer (2019). imageGrid (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)



Corrected version number


Updated with better examples

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux