plotting 2 vectors of different

2 次查看(过去 30 天)
AA
AA 2014-12-24
评论: Sara 2014-12-24
Hi, i got one vector that is 120 rows whilst the other is 60. How can i plot them in the same figure?

采纳的回答

Sara
Sara 2014-12-24
with hold on.
figure
plot(x1)
hold on
plot(x2)
  2 个评论
AA
AA 2014-12-24
What do u mean with hold on ?
Sara
Sara 2014-12-24
It means that matlab keeps plotting on the same figure. Have you tried the script with your vector instead of x1 and x2?

请先登录,再进行评论。

更多回答(0 个)

类别

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