3
我试图在我的xlabel中使用希腊字母。互联网上的每个解决方案都表示Matlab将接受tex。但代替三角符号我的X轴被简单地标为'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吗?你尝试过不同的字体吗? – Notlikethat
最后是什么原因? – thewaywewalk