PDF export to edit in inkscape?

44 ビュー (過去 30 日間)
Sarah Buehnke
Sarah Buehnke 2020 年 7 月 22 日
回答済み: Martin Jendryka 2021 年 5 月 5 日
Hi everyone
Very commonly, I plot data and edit those plots with inkscape. I made quite good experience with saving plots as pdf and importing them into inkscape. With this, I can chose all the small parts of the plot separately and thus change everything (e.g., font size, thickness etc) in inkscape. However, since today, this is not working anymore. Importing Matlab plot pdfs into inkscape, I cannot edit them anymore. The problem is within the pdf because looking at those PDF files in a pdf reader, I could always zoom all the way in and the resolution stayed high. Now, they are pixelated and have quite a low resolution. I use 2013b.
Does anyone know what to do?
  2 件のコメント
Johannes Fischer
Johannes Fischer 2020 年 7 月 22 日
I use Yair Altmans export_fig for exactly the same purpose.
Keep in mind, that you can also change the fontsize within Matlab. This might be the wiser choice when preparing reproducible figures. But that really depends on your application.
Sarah Buehnke
Sarah Buehnke 2020 年 7 月 24 日
Somehow it didn't work but I found that, if I use printf and change renderer, it works

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

回答 (1 件)

Martin Jendryka
Martin Jendryka 2021 年 5 月 5 日
print('-painters', '-dpdf', 'PlotName')
directly saves your figures the desired way.
the painters option is essential for vector graphics, such as pdf.

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by