This is a simple extension of the excellent xticklabel_rotate code from Brian Katz (originally Denis Gilbert) to work on graphs with two axes.
Peter (2022). Rotate XTick Labels for multi-axes (https://www.mathworks.com/matlabcentral/fileexchange/16804-rotate-xtick-labels-for-multi-axes), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: XTICKLABEL_ROTATE
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!