I want to slide the blue point with Manipulate[]. However, the following code does not function:
Manipulate[
Plot[{0, 0}, {x, 500, 1000},
Prolog -> Inset[Graphics[{PointSize[Large], Blue, Point[{nonTime, 0}]}]]],
{nonTime, 500, 1000}]
But, below code does work:
plt = Plot[{0, 0}, {x, 500, 1000}];
Manipulate[
Show[{plt, Graphics[{PointSize[Large], Blue, Point[{nonTime, 0}]}]}],
{nonTime, 500, 1000}]
I wonder why the first piece code does not work.
