ploting x,y coordinates in time

55 views (last 30 days)
Jakub on 26 Oct 2011
Commented: Picchiata on 17 Mar 2019
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

Answers (2)

Steven on 26 Oct 2011
x = [X1, X2, ...];
y = [Y1, Y2, ...];

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

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!