How to increase resolution of Matlab display?

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

 Accepted Answer

Matt J
Matt J on 8 Jun 2014
Edited: Matt J on 8 Jun 2014
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 Comments

Hey Matt, Thanks for your reply. Can you explain to me what is hFigure and filenamme in the syntax. Thanks again,
Sincerely, Nikhil
I want the save Matlab output display with higher resolution as .tif file.
@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.
Hi Matt, It worked perfectly. Thanks a lot!!
Nikhil

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 8 Jun 2014

Commented:

on 9 Jun 2014

Community Treasure Hunt

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

Start Hunting!