ploting x,y coordinates in time

31 Ansichten (letzte 30 Tage)
Jakub
Jakub am 26 Okt. 2011
Kommentiert: Picchiata am 17 Mär. 2019
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

Antworten (2)

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

Wayne King
Wayne King am 26 Okt. 2011
Do you want a 3-D plot with time also on the graph? See the help for plot3(), surf().
  3 Kommentare
Wayne King
Wayne King am 26 Okt. 2011
Then you can use what I suggested.
Picchiata
Picchiata am 17 Mär. 2019
IMG_20190317_164758.jpg

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by