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!

조회 수: 3 (최근 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에서 Software Development Tools에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by