ploting x,y coordinates in time

31 次查看(过去 30 天)
Jakub
Jakub 2011-10-26
评论: Picchiata 2019-3-17
Hey,
How can I plot 2D graph with points of given x,y coordinates in time? So that at time point 1 the point has position (X1,Y1) at time point 2 the point has position (X2,Y2) etc.
cheers jakub

回答(2 个)

Steven
Steven 2011-10-26
x = [X1, X2, ...];
y = [Y1, Y2, ...];
plot(x,y);
???

Wayne King
Wayne King 2011-10-26
Do you want a 3-D plot with time also on the graph? See the help for plot3(), surf().

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by