How to improve figure image quality when publishing to pdf?

6 views (last 30 days)
I am using the MATLAB publisher to create pdf reports, but the image quality of plots and tables is poor. I have tried changing the Figure Image Format, Max Image Width, and Max Image Height under 'Edit Publishing Options', but none of these produced any appreciable change.
Are there modifications that can be done to the publish script or formatting that can be included in my code to improve the image quality? I am currently using version R2016A.
Thank you.

Answers (1)

Aastha
Aastha on 19 Jun 2025
The image quality in published PDFs has improved in recent versions of MATLAB. I recommend upgrading to latest version of MATLAB.
You may also use the Export feature to define Image Resolution. Kindly follow the below mentioned steps:
1. Open your MATLAB file as Live Script.
2. From Home tab in toolstrip, Click "Export".
3. From export dialog box, Click "Show more"
4. Set "Figure resolution" as per requirement.
For more details regarding the "Export" option, kindly follow this documentation page:
Hope this helps!

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!