You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Description:
Create a subplot (template) with a common / shared colorbar. Fill with data or modify it as you wish using the returned handles.
Usage:
[hf, axLabel, axPlot, cb] = cbgridplot(nRow, nCol, varargin)
Examples:
cbgridplot(3, 4) will produce a figure with 12 subplots across 3 rows and 4 columns with a shared colorbar.
cbgridplot(3,2,'title','this is a test','xlabel','x-axis label','ylabel','y-axis label') will produce a figure with 6 subplots across 3 rows and 2 columns with grid('on') and a global title.
Cite As
Jan Grüner (2026). cbgridplot (https://nl.mathworks.com/matlabcentral/fileexchange/69630-cbgridplot), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.2 (3.57 KB)
MATLAB Release Compatibility
- Compatible with R2016b and later releases
Platform Compatibility
- Windows
- macOS
- Linux
