How to reduce the margin space in plotting
63 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
VBBV
on 11 Nov 2020
Try using PaperPosition, PaperUnits, to resize the figure window as given in this link
0 Comments
More Answers (1)
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:
0 Comments
See Also
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!