Reduce Horizontal Spacing Between Subplots (Trouble With Subaxis)

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?

Antworten (1)

Walter Roberson
Walter Roberson am 29 Jun. 2016

0 Stimmen

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.

Gefragt:

am 29 Jun. 2016

Beantwortet:

am 29 Jun. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by