Set the dpi for a figure
16 次查看(过去 30 天)
显示 更早的评论
Hey everyone,
I got a small problem with the dpi of figures, or maybe windows is just trolling me.
I use the following line to print the image
fig =gcf;
fig.PaperPositionMode = 'auto';
print('ScreenSizeFigure',-djpeg,'-r600');
So this are the statistics of the resulting image according to windows:
Dimensions: 11900x6169
Width 11900 Pixels
Height 6169 Pixels
Horizontal resolution 96 dpi
Vertical resoltuion 96 dpi
So is something wrong with Matlab (I am using Matlab R2019b Update 6), my code, or is windows just giving me wrong information?
I appreciate all help.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!