How to reduce the margin space in plotting

65 views (last 30 days)
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?

Accepted Answer

VBBV
VBBV on 11 Nov 2020
Try using PaperPosition, PaperUnits, to resize the figure window as given in this link

More Answers (1)

cui,xingxing
cui,xingxing on 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:

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!