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?

 Réponse acceptée

VBBV
VBBV le 11 Nov 2020

0 votes

Try using PaperPosition, PaperUnits, to resize the figure window as given in this link

Plus de réponses (1)

xingxingcui
xingxingcui le 4 Mar 2025

0 votes

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:

Catégories

En savoir plus sur Animation dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by