Font problems as EPS/LateX

2 次查看(过去 30 天)
André
André 2016-7-16
I created a simple plot that I want to include in my latex document:
The font in the axis (both x and y) does not look like the font I used in my latex document, which is Utopia (regular). I want the axis to have the font Utopia as well but I did not succeed. I used the following:
set(gca, 'XTick',[]);
set(gca, 'YTick',[]);
ylabel('Surface elevation','Fontsize',12,'Fontname','Utopia');
xlabel(' Time', 'Fontsize',12,'Fontname','Utopia');
set(gca,'FontSize',12,'Fontname','Utopia')
set(findall(gcf,'Utopia','text'),'FontSize',15)
print -depsc figure_name
I tried to include Utopia, and I export it as EPS. How can I change it to Utopia?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by