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 次查看(过去 30 天)
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');

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by