24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1140  |  回复: 1
本帖产生 1 个 博学EPI ,点击这里进行查看
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

csgt0

荣誉版主 (著名写手)

彩色挂图

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
stormsprit: 金币+10, 博学EPI+1, ★★★★★最佳答案, 很有用,非常感谢 2012-07-17 18:27:41
[AX,H1,H2] = plotyy(...) returns the handles of the two axes created in AX and the handles of the graphics objects from each plot in H1 and H2. AX(1) is the left axes and AX(2) is the right axes.


所以你用[AX,H1,H2] = plotyy(x,y,x,z) 就可以了
AX出来就是两个axes的句柄
axes(AX(1))显示左边的
再加个axes(AX(2))显示右边的
showmethemoney
2楼2012-07-17 18:04:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 stormsprit 的主题更新
信息提示
请填处理意见