grid_preview function

Plot a preview of a grid