Expand a figure in a PDF file

2 Ansichten (letzte 30 Tage)
Chris
Chris am 25 Okt. 2022
Beantwortet: Allen am 25 Okt. 2022
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?

Antworten (1)

Allen
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"

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by