SubPlot
This code is used once there are several saved fig files and the goal is to open all of them together in a new figure as different subplots. The order of subplots is based on the order in which figures are opened. It should be noted that all selected fig files must be single figures (no subplots) and defined in the 2-D space
The video (Help_Video.mp4) showing how to use the code is included in the file.
Cite As
Farhad Sedaghati (2023). SubPlot (https://www.mathworks.com/matlabcentral/fileexchange/51236-subplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots > Subplots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
2.0.0 | The objective is to include the multiselect option, and get the legend, x and y limit, scale, tick, and ticklabels |
||
1.2.0.0 | Reported bug has been fixed. |
||
1.1.0.0 | Getting X and Y labels and titles of figures for subplots |
||
1.0.0.0 | The number of rows for subplots |