Resolution requirements 300-600 dpi..

114 Ansichten (letzte 30 Tage)
Ara
Ara am 7 Aug. 2014
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,

Akzeptierte Antwort

Harsha Medikonda
Harsha Medikonda am 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.|

Weitere Antworten (2)

Eslam Wafdy
Eslam Wafdy am 6 Mai 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 Kommentare
Diego Staub Felipe
Diego Staub Felipe am 4 Aug. 2020
Bearbeitet: Diego Staub Felipe am 4 Aug. 2020
Thank you!!!
z sh
z sh am 8 Mär. 2022
Hi
why horizontal\ vertical resolution in properties folder not change?

Melden Sie sich an, um zu kommentieren.


Palguna Gopireddy
Palguna Gopireddy am 27 Nov. 2022
See this link
https://in.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-and-resolution.html

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by