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

답변 (2개)

Steven
Steven 2011년 10월 26일

0 개 추천

x = [X1, X2, ...];
y = [Y1, Y2, ...];
plot(x,y);
???
Wayne King
Wayne King 2011년 10월 26일

0 개 추천

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

댓글 수: 3

Jakub
Jakub 2011년 10월 26일
Thanks, I ment 3D, sorry for this.
Wayne King
Wayne King 2011년 10월 26일
Then you can use what I suggested.
Picchiata
Picchiata 2019년 3월 17일
IMG_20190317_164758.jpg

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2011년 10월 26일

댓글:

2019년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by