Create a flashing circle on a plot

3 次查看(过去 30 天)
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".

请先登录,再进行评论。

采纳的回答

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