88问答网
所有问题
当前搜索:
matlab调刻度大小刻度不动
matlab
怎么
设置
双Y轴的
刻度
,,就是用plotyy命令的
答:
[AX, H1, H2] = plotyy(x,y1,x,y2,'plot','plot');set(AX(1),'Ylim',[2,6]) %
设置
左侧y轴的显示范围 set(AX(2),'Ylim',[2,6])set(AX(1),'yTick',[2:1:6])%设置左侧y轴
刻度
set(AX(2),'yTick',[2:1:6])
MATLAB
用plot作图之后如何让年份后面显示1月并且只要某年1月到某年1...
答:
x = 2009 : 2015;plot( x, x );xl = get( gca, 'XTickLabel' );ext = repmat( '/1', length( xl ), 1 );set( gca, 'XTickLabel', [ xl, ext ] );
matlab中
x的范围怎么表示
视频时间 5:10
棣栭〉
<涓婁竴椤
15
16
17
18
19
20
21
22
23
24
其他人还搜