tightSubplot

Customizable version of standard MATLAB subplot function, for specifying axes positions and sizes.
16 Downloads
Updated 27 Jun 2024

View License

Customized subplotting routine for cleaner/tighter/highly customizable axes compared to a standard MATLAB subplot.
  • Basic functionality is largely the same as MATLAB's built in subplot, however this function makes it very easy to precisely control axes locations, e.g. for making print-quality plots. This replicates some of the more customizable behaviour in some python plotting libraries, for example.
  • The default behaviour here will make tightly paneled plots with no spacing between (good for tiled plots). Most often, you will specify at least one of the optional arguments to set axes spacing/location.

Cite As

Colin Rowell (2024). tightSubplot (https://www.mathworks.com/matlabcentral/fileexchange/168926-tightsubplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0