High dpi using print function
9 ビュー (過去 30 日間)
古いコメントを表示
if true
% fig = gcf;
% fig.Color = 'w'; %background color.
% fig.DockControls = 'off';
% fig.RendererMode = 'manual';
% fig.Renderer = 'painters';
fig.Units = 'centimeters';
% fig.Resize = 'off';
% fig.InvertHardcopy = 'on';
fig.PaperPositionMode = 'manual';
fig.PaperUnits = 'centimeters';
% %Con l'orientazione landscape inverte width e height.
fig.PaperOrientation = 'portrait';
fig.PaperSize = [84.1 59.4];
fig.PaperPosition = [4.205 2.97 75.69 53.46];
directory = 'C:\Users\Amministratore\Desktop\Imm5';
print(directory, '-painters', '-dtiffn', '-r900');
end
I'm using this code to save an high resolution image. This works fine. But when I increase -r900, for example using -r1200, the image turns out black. Is there a resolution limit? What is it? I'm working with MATLAB 2015a.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!