Create a flashing circle on a plot

조회 수: 3 (최근 30일)
Norman Vyne
Norman Vyne 2019년 9월 25일
댓글: Rena Berman 2019년 10월 28일
I would like to create a flashing circle on a graph.
Any information to go about doing this?
  댓글 수: 4
Matt J
Matt J 2019년 10월 16일
The orginal question was (paraphrased), "How do I put a blinking circle on a plot".
Rena Berman
Rena Berman 2019년 10월 28일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 2019년 9월 25일
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
Adam Danz
Adam Danz 2019년 10월 2일
편집: Adam Danz 2019년 10월 2일
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 2019년 10월 2일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by