Line graphs and Scatter plots

조회 수: 6 (최근 30일)
Jordan Martin
Jordan Martin 2021년 2월 20일
댓글: Mario Malic 2021년 2월 21일
Is there a way to add a line graph to a scatter plot graph if they have differing equations?

채택된 답변

Mario Malic
Mario Malic 2021년 2월 20일
Hello,
The command 'hold on' will retain the existing plots on axes.
scatter()
hold on
plot()
  댓글 수: 2
Jordan Martin
Jordan Martin 2021년 2월 21일
thank you
Mario Malic
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 CenterFile Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by