MATLAB Answers

Displaying time in the figure window

9 ビュー (過去 30 日間)
Hari krishnan
Hari krishnan 2018 年 11 月 21 日
コメント済み: Aquatris 2018 年 11 月 22 日
I have the data of time and coordinates of an object moving in a plane. What if i want to display the time coorresponding to the trajectory in the figure window?

  3 件のコメント

Adam
Adam 2018 年 11 月 21 日
Add text to an axes
doc text
or add a text uicontrol ( style 'text' ) to the figure
doc uicontrol
Jan
Jan 2018 年 11 月 22 日
It depends on what "display the time coorresponding to the trajectory" exactly mean. How do you want it to look like?
Aquatris
Aquatris 2018 年 11 月 22 日
A simple way is to put the time as title, "title(t(i))" where i is the index of that particle time and t is the time variable.

サインインしてコメントする。

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by