24小时热门版块排行榜    

查看: 2800  |  回复: 8
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

freeaswind

铁虫 (正式写手)

[求助] 求助:如何在MATLAB figure里输入x戴冒符号,非常感谢

我想在MATLAB figure里输入“x冒”,就是x上面有个倒v,用\hat{x}显示不了,请高手相助,非常感谢

我用的版本是2011a
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

freeaswind

铁虫 (正式写手)

引用回帖:
3楼: Originally posted by dbb627 at 2012-07-10 15:18:12
我的matlab 2010b 可以的
>> figure
>> mytexstr = '$\hat{x}$';
    h = text('string',mytexstr,...
             'interpreter','latex',...
             'fontsize',40,...
             'u ...

非常感谢~~~

不过我好像没说清楚,我是想在legend中表示,可是我直接legend('$x\leq\hat{x}$','$x\geq\hat{x}$')却显示不出来,还请高手再加指教,多谢啦
5楼2012-07-10 19:40:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

csgt0

荣誉版主 (著名写手)

彩色挂图

【答案】应助回帖


感谢参与,应助指数 +1
xiegangmai: 金币+1, 谢谢参与! 2012-07-10 23:19:18
你确定在别的地方能打出来吗?比如word,记事本里面
n的倒是可以
figure
text(.2100,.2100,'ňňňňňňňňňňňňňňň')
showmethemoney
2楼2012-07-10 13:25:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
freeaswind: 金币+5, ★★★很有帮助 2012-07-10 19:38:42
xiegangmai: 金币+2, 专家考核, 谢谢应助! 2012-07-10 23:19:32
我的matlab 2010b 可以的
>> figure
>> mytexstr = '$\hat{x}$';
    h = text('string',mytexstr,...
             'interpreter','latex',...
             'fontsize',40,...
             'units','norm',...
             'pos',[.5 .5]);
>>
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
3楼2012-07-10 15:18:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖


xiegangmai: 金币+1, 辛苦了! 2012-07-10 23:19:43
见图
CODE:
figure
mytexstr = '$\hat{x}$';
    h = text('string',mytexstr,...
             'interpreter','latex',...
             'fontsize',40,...
             'units','norm',...
             'pos',[.5 .5]);



The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
4楼2012-07-10 15:19:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见