How to print multiple figures into same pdf?

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.

回答 (1 件)

Richard Quist
Richard Quist 2021 年 12 月 6 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

製品

質問済み:

2020 年 1 月 30 日

回答済み:

2021 年 12 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by