Tag Info

Hot answers tagged

1

The most important thing, and the thing that can be easily missed is that the second argument of Dynamic must be a function or a list of functions: list = {}; Slider[Dynamic[b, (b = #; list = Join[list, {b}]) &], {1, 10, 1}] Dynamic@list


1

Your code can be made to work as you expect to by simplifying it. With[{imgSize = 300, nPts = 100}, Manipulate[ Grid[{ {k, Cos[1. k], ""}, {p, y = Cos[p], Sin[y]}, {Graphics[{ {Gray, Line[RandomReal[{-1, 1}, {nPts, 2}]]}, {Red, Disk[p, 0.05]}}, PlotRange -> {{-1, 1}, {-1, 1}}, ImageSize ...



Only top voted, non community-wiki answers of a minimum length are eligible