Plotting two(function) curve in same figure?how?

6 次查看(过去 30 天)
can Iam plotting two(function) curve in one figure?how? y1=function y2=function x=1:1:40
plot(x,y1) plot(x,y2)
in same figure? how?

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-11-15
编辑:Azzi Abdelmalek 2013-11-15
plot(x,y1)
hold on
plot(x,y2)
%or
plot(x,y1,x,y2)
%or
plotyy(x,y1,x,y2)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by