I need three lines on one graph
显示 更早的评论
x=0:0.3:30;semilogy(x,exp(x))
coordinates x1= 0, 0,5
x2 = 0, 001
x3=0,001 - another line
回答(3 个)
TADA
2018-12-11
x=0:0.3:30;
hold off;
semilogy(x,exp(x));
hold on;
semilogy(x,2*exp(x));
semilogy(x,10*exp(x));
Yuriy Gamiy
2018-12-11
0 个投票
1 个评论
TADA
2018-12-11
Sorry, I don't understand, what do you want to put in your Y axis?
what is that Y vector you wrote?
Yuriy Gamiy
2018-12-11
0 个投票
1 个评论
TADA
2018-12-11
If what you want is to change the label,
you can use
ylabel('something something');
and name it whatever you want
类别
在 帮助中心 和 File Exchange 中查找有关 Directed Graphs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!