Eliminate Extra Spaces between Subplots of Different Size

5 visualizaciones (últimos 30 días)
Adenine Koo
Adenine Koo el 10 de Nov. de 2020
Respondida: Pranav Verma el 13 de Nov. de 2020
How to remove the extra white spaces between subplots to get my desired output?
The code that I am currently using:
tiledlayout(3, 2, 'TileSpacing', 'none', 'Padding', 'none');
  1 comentario
Mathieu NOE
Mathieu NOE el 10 de Nov. de 2020
I would keep 'TileSpacing', 'none',
but try other options for padding (seems here 'none' will again create some distance between the plots)

Iniciar sesión para comentar.

Respuestas (1)

Pranav Verma
Pranav Verma el 13 de Nov. de 2020
Hi Adenine,
You can try the tight_subplot add-on in MATLAB. You can adjust margins and gaps between the axes using this.
tight_subplot is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Feel free to contact the author of this submission directly for specific questions about the implementation
Thanks

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by