Edit plot position in MATLAB
1 view (last 30 days)
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?
0 Comments
Answers (1)
Frantisek Gaspar
on 13 Apr 2022
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.
0 Comments
See Also
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!