Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用条形符号(变量上方的一条线)来显示变量的平均值。我找到了这段代码:
plot(randn(100,1)); ylabel('$\bar{ABCDEFG}-T5$','interpreter','latex')
但这条线很小。有没有办法使它与变量的长度相同?
怎么样:
ylabel('$\overline{ABCDEFG}-T5$', 'interpreter','latex')
我发现在传说中使用它我们应该说
legend({'$\overline{ABCDEFG}-T5$'},'interpreter','latex');