Issue in line plot while saving in vector graphics

1 回表示 (過去 30 日間)
Jagadeesh Korukonda
Jagadeesh Korukonda 2023 年 12 月 12 日
コメント済み: Jagadeesh Korukonda 2023 年 12 月 12 日
I had a matlab figure, it contains 4 lines. When I'm trying to save as pdf/eps/emf, one of the line's resolution is going crazy. I'll attach the matlab figure and pdf file also.
Please do needful.
f1 = openfig("para_sub_2D.fig");
print(f1,"pic.pdf","-dpdf","-r300")
  2 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 12 月 12 日
The lines in the pdf are appearing fine for me (R2021a on Win 10), as clear as the lines on the figure.
See the screenshots attached.
Jagadeesh Korukonda
Jagadeesh Korukonda 2023 年 12 月 12 日
I'm getting like this

サインインしてコメントする。

採用された回答

Adam Danz
Adam Danz 2023 年 12 月 12 日
I recommend using exportgraphics. The results below were produced in R2023b.
open para_sub_2D.fig
exportgraphics(gcf,'mypic.pdf')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by