ploting x,y coordinates in time

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

Respuestas (2)

Steven
Steven el 26 de Oct. de 2011

0 votos

x = [X1, X2, ...];
y = [Y1, Y2, ...];
plot(x,y);
???
Wayne King
Wayne King el 26 de Oct. de 2011

0 votos

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

3 comentarios

Jakub
Jakub el 26 de Oct. de 2011
Thanks, I ment 3D, sorry for this.
Wayne King
Wayne King el 26 de Oct. de 2011
Then you can use what I suggested.
Picchiata
Picchiata el 17 de Mzo. de 2019
IMG_20190317_164758.jpg

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Oct. de 2011

Comentada:

el 17 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by