matlab 在统一图中用stem,plot画图,双纵轴
有三列数据,第一列为横轴,第二列用stem画成针状图,对应Y1轴,第三列用plot练成一条线.对应Y2轴.
xiexie
人气:252 ℃ 时间:2020-03-29 20:56:14
解答
x=0:0.25:4;
y=exp(x);
plotyy(x,y,x,y,'plot','semilogy');
hold on;
title('题目');
ylabel('座标轴');
xlabel('x轴');
推荐
- Matlab plot画图怎样在图中添加注释?
- matlab中plot()画图时如何指定X Y轴的范围呢,plot(x,y);只能指定X,Y的对应关系,但是没有坐标轴范围和坐标轴上标尺的指定,怎么弄呢,
- 一篇400字美文+赏析
- 写一段表示老师高兴的句子
- mr green said he ( )in the school for about twenty years
- The bank is near the pay phone的同义句
- 求出下面每组数的最大公因数.2和8,18和63,17和25,78和39,4和9,24和15,35和55,40和48.
- 向大家请教一句话的意思.
猜你喜欢