Resolution requirements 300-600 dpi..

324 views (last 30 days)
Ara
Ara on 7 Aug 2014
Commented: z sh on 8 Mar 2022
Hi Everybody,
My publisher wants dpi between 300-600 dpi, and the height cannot exceed 230mm (~860 pixels). When I "save as" my MATLAB figure to ".tif" or ".tif (no compression)" . Everything seems fine, however, only the horizontal and vertical resolution is not the one that I want, (is ~ 116dpi). So, when I change resolution to 300 or even 600 dpi the height of figure exceeds 230mm.
Do you have any idea how to fix it?
I appreciate your help,

Accepted Answer

Harsha Medikonda
Harsha Medikonda on 8 Aug 2014
|Refer to the example code below.
x=(1:2:10)
y=(1:2:10)
plot(x,y)
size = [200 200];
res = 300;
set(gcf,'paperunits','inches','paperposition',[0 0 size/res]);
print('resized.tiff','-dtiff',['-r' num2str(res)]);
Here I have set the width and height to be 200. Resolution is set to 300dpi. To set the properties(“paperunnits” and “paperposition”) of the image, you could use the “set” function. “print” function is used to set the resolution to 300dpi.|

More Answers (1)

Eslam Wafdy
Eslam Wafdy on 6 May 2019
in the figure window From File Menu Choose >>>Export Setup ,then in rendering section >>>> Select resolution and then you can make it 600 dpi or your screen resolution
  2 Comments
z sh
z sh on 8 Mar 2022
Hi
why horizontal\ vertical resolution in properties folder not change?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by