How to print multiple figures into same pdf?
5 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Richard Quist
2021-12-6
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!