How to increase resolution of Matlab display?

6 ビュー (過去 30 日間)
Nikhil
Nikhil 2014 年 6 月 8 日
コメント済み: Nikhil 2014 年 6 月 9 日
Hello all,
I want to save MATLAB display as .tif file with higher resolution of up to 600 dpi. This file is to be used for publication purpose. Can somebody please guide me how can I change display resolution of Matlab output and successfully save the same. Thank you in advance,
Sincerely, Nikhil

採用された回答

Matt J
Matt J 2014 年 6 月 8 日
編集済み: Matt J 2014 年 6 月 8 日
If it's a figure with handle hFigure that you want to convert to .tif, you could do
print(hFigure,'-dtiff', '-r600', filename)
If you mean you want the image of the MATLAB command window itself... no idea.
  5 件のコメント
Matt J
Matt J 2014 年 6 月 8 日
編集済み: Matt J 2014 年 6 月 8 日
@Nikhil
hFigure is handle to the figure you want to convert to .tif and filename is the target filename. Example
plot(1:5);
print(gcf,'-dtiff', '-r600', 'out')
will save the current figure to a 600 dpi file called out.tif.
Nikhil
Nikhil 2014 年 6 月 9 日
Hi Matt, It worked perfectly. Thanks a lot!!
Nikhil

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by