save m.file as PDF
이전 댓글 표시
Hi. I have a number of figures to be made as PDF. There are around 200 figures and I have to make them PDF with figure captions. How can I convert those figures directly from m.file to PDF? I have used publish command but it did not work.
댓글 수: 4
Jan
2022년 3월 19일
The question is not clear: "convert those figures directly from m.file to PDF" - what is wanted in the PDFs? The source code as text or the output as image?
What does "did not work" mean? If you mention, which problems you have, the readers could help to fix them.
If the contents of the figures are needed, simply use the print() command or the modern exportgraphics().
ANANTA BIJOY BHADRA
2022년 3월 25일
Jan
2022년 3월 25일
"The publish command somehow runs as infinite loop and provides nothing" - this sounds like magic. I assume, there is a bug you are not aware of.
ANANTA BIJOY BHADRA
2022년 3월 25일
답변 (1개)
Prateek Rai
2022년 3월 21일
1 개 추천
Hi,
To my understanding, you want to save multiple figures in pdf.
You can use "exportgraphics" function to save plots/figures/graphics content to pdf file.
카테고리
도움말 센터 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!