Displaying time in the figure window
Mostrar comentarios más antiguos
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 comentarios
Adam
el 21 de Nov. de 2018
Add text to an axes
doc text
or add a text uicontrol ( style 'text' ) to the figure
doc uicontrol
Jan
el 22 de Nov. de 2018
It depends on what "display the time coorresponding to the trajectory" exactly mean. How do you want it to look like?
Aquatris
el 22 de Nov. de 2018
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.
Respuestas (0)
Categorías
Más información sobre Title en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!