필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Martin Schregel
Martin Schregel 2015년 10월 21일
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!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by