Plotting two(function) curve in same figure?how?
조회 수: 1 (최근 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?
댓글 수: 0
채택된 답변
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)
댓글 수: 3
Azzi Abdelmalek
2013년 11월 15일
편집: Azzi Abdelmalek
2013년 11월 15일
figure
hold on
plot(x,y1)
plot(x,y2)
plot(x,y3)
%and so on
hold off
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!