Line graphs and Scatter plots
조회 수: 6 (최근 30일)
이전 댓글 표시
Is there a way to add a line graph to a scatter plot graph if they have differing equations?
댓글 수: 0
채택된 답변
Mario Malic
2021년 2월 20일
Hello,
The command 'hold on' will retain the existing plots on axes.
scatter()
hold on
plot()
댓글 수: 2
Mario Malic
2021년 2월 21일
You're welcome, you can accept my answer (blue button) if it solves your question. Thanks in advance.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Data Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!