How to refresh annotation after each frame?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Phillip Foy
am 11 Okt. 2018
Bearbeitet: Adam Danz
am 13 Aug. 2019
I am trying to insert an output in an annotation outside of my plot. The value just keeps stacking on top of each other until it is unreadable. When I use the delete(findall(gcf,'Tag','stream') function it will delete the annotation and not refresh it like I am trying to do. Any suggestions?
annotation('textbox', [0 .6 .1 .2],'String','500 MHz Max Gain Slope (dB):','EdgeColor','none');
annotation('textbox', [0 .55 .1 .2],'String',Delta_band,'EdgeColor','none','Tag','stream')
delete(findall(gcf,'Tag','stream'));
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 11 Okt. 2018
After you're done with each frame, call
drawnow;
to force immediate refresh/repainting of the screen.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Entering Commands finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!