How i can plot two graphs in one figure?

조회 수: 1 (최근 30일)
Raidar Ali
Raidar Ali 2018년 12월 29일
댓글: madhan ravi 2018년 12월 29일
tell me about the simplest commnd to plot the two graphs in one figure.

채택된 답변

madhan ravi
madhan ravi 2018년 12월 29일
편집: madhan ravi 2018년 12월 29일
See https://www.mathworks.com/help/matlab/ref/hold.html , the command would be hold on
% an example
plot(1:10)
hold on
plot((1:10).^2)
Screen Shot 2018-12-30 at 12.40.17 AM.png
  댓글 수: 1
madhan ravi
madhan ravi 2018년 12월 29일
If it's what you are looking for make sure to accept the answer else let know

댓글을 달려면 로그인하십시오.

추가 답변 (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