plotting 2 graphs on the same axes

4 Ansichten (letzte 30 Tage)
Anika Lee
Anika Lee am 21 Okt. 2020
Beantwortet: KSSV am 21 Okt. 2020
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!

Akzeptierte Antwort

Star Strider
Star Strider am 21 Okt. 2020
Use the hold function.

Weitere Antworten (1)

KSSV
KSSV am 21 Okt. 2020
Read about hold on.
plot(rand(1,10))
hold on
plot(rand(1,10))

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by