Resolution requirements 300-600 dpi..

119 vues (au cours des 30 derniers jours)
Ara
Ara le 7 Août 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,

Réponse acceptée

Harsha Medikonda
Harsha Medikonda le 8 Août 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.|

Plus de réponses (2)

Eslam Wafdy
Eslam Wafdy le 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 commentaires
Diego Staub Felipe
Diego Staub Felipe le 4 Août 2020
Modifié(e) : Diego Staub Felipe le 4 Août 2020
Thank you!!!
z sh
z sh le 8 Mar 2022
Hi
why horizontal\ vertical resolution in properties folder not change?

Connectez-vous pour commenter.


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

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by