How to refresh annotations (in figures) using a timer function? See code below. I want to have this arrow "update" or refresh in spatial position everytime the timer calls the plot function. Thank you!

4 visualizaciones (últimos 30 días)
Sample code that I want to fresh in a figure using a timer...
[Xf, Yf] = ds2nfu(data.tickX(end,1), data.dClose(end,1));
h=annotation('arrow',[Xf*1.05 Xf*1.01],...
[Yf Yf],'Color',[1 0.600000023841858 0],...
'LineWidth',2,...
'HeadStyle','cback1');

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by