Expand a figure in a PDF file

2 visualizzazioni (ultimi 30 giorni)
Chris
Chris il 25 Ott 2022
Risposto: Allen il 25 Ott 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?

Risposte (1)

Allen
Allen il 25 Ott 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"

Categorie

Scopri di più su Images in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by