Plot in 300 or 600 dpi

41 ビュー (過去 30 日間)
Santos García Rosado
Santos García Rosado 2021 年 3 月 29 日
コメント済み: darova 2021 年 4 月 7 日
Hello everybody,
I'm trying to plot a couple of figures(pie charts, histograms, graphs...) and I was wondering if it is possible to plot those figures with a 300 or 600 dpi. I've read some documentation that shows you how to save it with better resolution but I couldn't find any kind of information regarding to actual plotting in higher deffinition.
Is it even possible to achieve this? If so, could someone please show me how or at least share some useful useful documentation?
Thank's for the help.
Santos

採用された回答

darova
darova 2021 年 4 月 6 日
Use print
x = 0:10;
y = sin(x);
plot(x,y);
print('test','-dpng','-r300')
  2 件のコメント
Santos García Rosado
Santos García Rosado 2021 年 4 月 7 日
Thank you Darova! Now is working perfectly!
darova
darova 2021 年 4 月 7 日
my pleasure

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

その他の回答 (1 件)

Divya Gaddipati
Divya Gaddipati 2021 年 4 月 5 日
  1 件のコメント
Santos García Rosado
Santos García Rosado 2021 年 4 月 6 日
Thank's for the feed back Divya. I checked the code of the accepted answer and it doesn't get the expected output. Thank's anyways. I'll keep checking if someone comes up with a solution.

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

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by