Clear Filters
Clear Filters

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

2 views (last 30 days)
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!

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!