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?

 采纳的回答

更多回答(1 个)

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:

类别

帮助中心File Exchange 中查找有关 Animation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by