ploting x,y coordinates in time
Afficher commentaires plus anciens
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
Réponses (2)
Steven
le 26 Oct 2011
x = [X1, X2, ...];
y = [Y1, Y2, ...];
plot(x,y);
???
Wayne King
le 26 Oct 2011
0 votes
Do you want a 3-D plot with time also on the graph? See the help for plot3(), surf().
3 commentaires
Jakub
le 26 Oct 2011
Wayne King
le 26 Oct 2011
Then you can use what I suggested.
Picchiata
le 17 Mar 2019

Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!