フィルターのクリア

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 Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by