Export big subplot problem

2 views (last 30 days)
Jacques La Fontaine
Jacques La Fontaine on 21 Dec 2020
Answered: Ameer Hamza on 21 Dec 2020
Hello everyone,
I have a problem trying to export a large subplot (4x4 so 16 subplots in it). The fact is that, while if I open the plot in landscape mode in Matlab I see al the plots properly, when exporting it the figure gets reduced in size and so many of the plots and titles overlap, and the quality is greatly reduced.
I have seen that it is possible to export the figure with a larger size and keeping an acceptable quality (e.g. in pdf), but I cannot manage to do it.
Does anyone have any suggestion?
Thank you in advance for your help
JLF

Answers (1)

Ameer Hamza
Ameer Hamza on 21 Dec 2020
Which command are you using to save the pdf file? Are you using the GUI? I suggest using the exportgraphics(): https://www.mathworks.com/help/ref/exportgraphics.html. You can control the resolution to export a high-quality image.

Community Treasure Hunt

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

Start Hunting!

Translated by