Expand a figure in a PDF file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
So I'm trying to export an image into a pdf file then maximise the image so it takes up as much space as possible. I've been using saveas(Image,'Output_Image.pdf'); to export the figure. However the image takes up quite a small space in the pdf file. Is there a way to maximise the image so it takes up as much of the pdf file as possible?
0 Kommentare
Antworten (1)
Allen
am 25 Okt. 2022
Chris,
Regular figures have several properties that allow you to control their size when converted to an image, and should work with pdf files too. Not sure if this is valid for UIFigures.
PaperPosition: standard 4-number position vector
PaperOrientation: "portrait" or "landscape"
PaperPositionMode: controls the position of the image on the page. when adjust the above two properties, you may also need to set this to "manual"
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!