Edit plot position in MATLAB
Show older comments
I have two plots. I need to fill them in a A4 page such way they fills the page. The plots has be square The margin is very small. I tried using subplot but both the images are very closed to each other. The resolution is also very low. In this situation, how can I make that particular PDF?
Answers (1)
Frantisek Gaspar
on 13 Apr 2022
0 votes
Figures have properties related to Exporting: https://www.mathworks.com/help/matlab/ref/matlab.ui.figure-properties.html#d123e431719
To export figure to pdf, search for print function. To control margins of axes I suggest using tiledlayout.
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!