How do I improve the quality of my plots?
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm adding figures to a matlab report with the following code:
import mlreportgen.report.*
fig = [f1, f2, f3]
ch = Chapter('Name of the chapter');
for i = 1:3
Fig = mlreportgen.report.Figure(fig(i));
add(ch,Fig);
end
Report generator creates a pdf file with the figures. The problem is that for some plots (like the second one), the quality is really poor.
Does anyone have an idea why this is happening?
Thank you!
댓글 수: 0
답변 (1개)
Rahul Singhal
2022년 4월 20일
Fig = mlreportgen.report.Figure(fig(i));
Fig.SnapshotFormat = "svg";
% Fig.SnapshotFormat = "pdf";
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!