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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!