plotting 2 graphs on the same axes

5 次查看(过去 30 天)
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