Reduce Horizontal Spacing Between Subplots (Trouble With Subaxis)
4 views (last 30 days)
Show older comments
I'm trying to make generic m x n subplots as an output for a larger function, and I'd like to decrease the horizontal spacing between axes. I'm using subaxis successfully to adjust vertical spacing, but for some reason the horizontal spacing remains unchanged. Ultimately, I'd like to set a constant horizontal spacing parameter independent of the number of columns in the figure.
I've seen multiple posts about this issue but haven't been able to find an answer. Any suggestions?
0 Comments
Answers (1)
Walter Roberson
on 29 Jun 2016
subAxis() is a File Exchange contribution, not part of MATLAB itself. It might have bugs. You can generate new axes with axes() and set the OuterPosition property as desired.
0 Comments
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!