【发布时间】:2014-02-01 21:24:36
【问题描述】:
我正在尝试在我的情节 xlabel 中使用希腊字母。互联网上的每个解决方案都说 Matlab 将接受 tex。但是我的 x 轴不是 delta 符号,而是简单地标记为“D”
a = plot(0:40, y);
hold on
plot(delta_T,brechkraft, 'x')
errorbar(delta_T, brechkraft,delta_b,'x');
title('2mm Oelschicht');
xlabel('\Delta');
ylabel('Brechkraft D in 1/cm');
annotation('textbox', [.2 .8 .1 .1],...
'String', {'Fit: f(x) = m*x + b', ['m = ', num2str(p(1)) ], ['b = ', num2str(p(2)) ]});
shg
hold off
saveas(a, 'abc1.png','png');
【问题讨论】:
-
Matlab 在您的系统上使用的任何默认字体是否肯定有 Delta 字形?你试过不同的字体吗?
-
最后是什么原因?
标签: matlab plot matlab-figure tex