필터 지우기
필터 지우기

How to increase resolution of Matlab display?

조회 수: 1 (최근 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 CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by