How do I plot differing length (X,Y) vectors vs time?
7 次查看(过去 30 天)
显示 更早的评论
At each point in time I receive a list of (x,y) pairs and the number of data points ((x,y) pairs) varies with time. I want to do a scatter plot-style figure of the x,y pairs versus time. If it helps, the x,y pairs are integers over a finite range of possible values (range(x) is not = range(y)).
0 个评论
采纳的回答
Star Strider
2016-9-14
You probably have triplets (t,x,y). Use the scatter3 or plot3 functions. If you want to plot more than one (t,x,y) series on each plot, use the hold function.
4 个评论
Star Strider
2016-9-15
As always, my pleasure.
I’m interested! I’d like to see your code and the plot it produced.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!