Physical size of exportgraphics

30 views (last 30 days)
Tero on 21 Dec 2021
Edited: Richard Quist on 29 Dec 2021
Hi all,
Is there a way to use exportgrapics and have the saved content in a specified physical dimensions?
Currently, I use exportgraphics, and save the figure content as a vector PDF. Then I use InkScape to actually adjust the PDF to a size (in mm) I need. Finally I save it as EPS and have it printed out.
How could I skip the need for InskScape and could save the image content from Matlab directly to a certain size EPS?

Accepted Answer

Richard Quist
Richard Quist on 29 Dec 2021
Edited: Richard Quist on 29 Dec 2021
exportgraphics does not currently support generating output to match a specified dimension.
If you would find this feature valuable I suggest contacting tech support and request that it be added, and provide information about what capabilities/options this should support.
Another option is to use the print command, and specify the desired output size using the figure's Paper* properties (PaperPosition, PaperUnits, PaperSize)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by