How to print multiple figures into same pdf?

6 vues (au cours des 30 derniers jours)
sridhar reddy bysani
sridhar reddy bysani le 30 Jan 2020
How can i print multiple figures in one pdf file without using Ghostscript . i tried of using .ps format and it's working.
How can i convert from .ps to PDF within MATLAB.

Réponses (1)

Richard Quist
Richard Quist le 6 Déc 2021
In R2021b and later you can use exportgraphics to directly create PDF files containing multiple figures:
% append each of the figures to output.pdf
for i=1:numFigs
exportgraphics(figure(i), 'output.pdf', 'Append', true);
end

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by