How do I change the system-wide figure resolution in Matlab using startup script file?
Show older comments
I wanted to implement the figure resolution of 300 dpi system-wide in Matlab so that any figure I generate can be exported in 300 dpi automatically without manually changing the resolution in 'Export Setup' option. I have created the startup file that implements the other settings I want but not this one!
Here's my startup file:
% set(0, 'DefaultFigureRenderer', 'painters');
set(0, 'DefaultFigurePaperUnits', 'inches');
set(0, 'DefaultFigurePaperPositionMode', 'manual');
set(0, 'DefaultFigurePaperPosition', [0 0 20 11.25]);
set(0, 'DefaultTextInterpreter','latex');
set(0, 'DefaultTextFontSize',16);
set(0, 'DefaultAxesFontSize',16);
set(0, 'DefaultFigureResolution', 300); % Set system-wide resolution to 300 dpi
I tried working with 'DefaultFigureResolution', 'DefaultPrintResolution', and 'DefaultFigurePrintResolution' argument to see if it works by any chance but no success!
Accepted Answer
More Answers (0)
Categories
Find more on Just for fun in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!