How do I change the system-wide figure resolution in Matlab using startup script file?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!