fixedcolorbar

Creates a colorbar but doesn't move the subplot.

You are now following this Submission

Code to account for Matlab's colorbar shifting subplot width to the left - instead, fixes subplot to original axes position.

Cite As

Allison Ho (2026). fixedcolorbar (https://www.mathworks.com/matlabcentral/fileexchange/157786-fixedcolorbar), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0