How to reduce the margin space in plotting

My subplots produce a wide outerposition during plotting and i needed to reduce the margin size to fit in the microsoft word office size.
so is there any proper way to reduce the margin indicated in the figure above?

 Risposta accettata

Più risposte (1)

xingxingcui
xingxingcui il 4 Mar 2025
Since R2021a, it is recommended to use the tiledlayout function, which allows you to adjust the default blank area size of the figure, such as the 'Padding' and 'TileSpacing' properties. For more detailed information, please refer to this link:

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by