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.
Clay Swackhamer (2019). imageGrid (https://www.mathworks.com/matlabcentral/fileexchange/69091-imagegrid), MATLAB Central File Exchange. Retrieved .
Corrected version number
Updated with better examples