how can I draw flashing arrow on the plot?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello, how can I draw flashing arrow on the plot by use 'pause' function?
Thanks a lot!
0 comentarios
Respuestas (1)
Rik
el 17 de Mzo. de 2017
t = text(0.5,0.5,'\leftarrow');
for blinks=1:10
set(t,'Visible','off')
pause(0.5)
set(t,'Visible','on')
pause(0.5)
end
3 comentarios
Rik
el 19 de Mzo. de 2017
Sure, just add a set(t,'Visible','off') after the loop.
If this answer helped you, please mark it as accepted answer. It will give us both reputation points.
Ver también
Categorías
Más información sobre Graphics Objects en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!