how can I draw flashing arrow on the plot?

Respuestas (1)

Rik
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

Jinah Lee
Jinah Lee el 17 de Mzo. de 2017
Thank you so much for your answer!!!!!!!!!!
Jinah Lee
Jinah Lee el 17 de Mzo. de 2017
oh, can't I make a one flash for the arrow and make it gone?
Rik
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.

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Mzo. de 2017

Comentada:

Rik
el 19 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by