Reduce Horizontal Spacing Between Subplots (Trouble With Subaxis)
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Walter Roberson
2016-6-29
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!