Filter löschen
Filter löschen

Why are my plots looking different when builded at an other computer?

2 Ansichten (letzte 30 Tage)
Hi everybody,
I am using the following commands to design my MATLAB plots:
name_str = 'name';
fig = figure('Name',name_str,'NumberTitle','off');
plot(mydata,'LineWidth',2)
grid on
title('title');
legend('legend');
xlabel('label');
ylabel('label');
set(findall(gcf,'type','axes'),'fontsize',30);
set(findall(gcf,'type','text'),'fontSize',30);
set(gca,'LineWidth',2);
set(gca,'color','none');
set(fig,'position',[0 0, 1680 1050]);
set(fig,'PaperPositionMode','Auto');
saveas(fig,['G:\Example\Example\','filename'],'epsc');
saveas(fig,['G:\Example\Example\','filename']);
I was hoping, that this code creates always the same style for my figures, but when I use this code at a different computer the figures are getting larger and the fontsize is not the same.
Thank you for your help!

Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by