Create a flashing circle on a plot

5 Ansichten (letzte 30 Tage)
Norman Vyne
Norman Vyne am 25 Sep. 2019
Kommentiert: Rena Berman am 28 Okt. 2019
I would like to create a flashing circle on a graph.
Any information to go about doing this?
  4 Kommentare
Matt J
Matt J am 16 Okt. 2019
The orginal question was (paraphrased), "How do I put a blinking circle on a plot".
Rena Berman
Rena Berman am 28 Okt. 2019
(Answers Dev) Restored edit

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Matt J
Matt J am 25 Sep. 2019
Something like this is a possibility:
plot(1:5);
hcirc=drawcircle;
while 1
hcirc.Visible='on';
pause(0.2);
hcirc.Visible='off';
pause(0.2);
end
  8 Kommentare
Adam Danz
Adam Danz am 2 Okt. 2019
Bearbeitet: Adam Danz am 2 Okt. 2019
Did you enter a "center" containing 2 values and a radius? It's difficult to help you when we don't have any information about what might be causing the problem. What's line 4? What inputs did you provide?
Norman Vyne
Norman Vyne am 2 Okt. 2019
I inputted the exact code above and clicked run, then I got an error stating that there is not enough input information in the "x=" part of the function.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by