plotting 2 graphs on the same axes

조회 수: 4 (최근 30일)
Anika Lee
Anika Lee 2020년 10월 21일
답변: KSSV 2020년 10월 21일
I have to plot an x-y equation and also a data set of x,y coordinates on the same axes, but i cant figure out how to have them on the same graph. Help!

채택된 답변

Star Strider
Star Strider 2020년 10월 21일
Use the hold function.

추가 답변 (1개)

KSSV
KSSV 2020년 10월 21일
Read about hold on.
plot(rand(1,10))
hold on
plot(rand(1,10))

카테고리

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