Tag Info

Hot answers tagged

1

Here's an idea: update[p_, pi_, i_] := ReplacePart[p (1 - pi)/Total[Drop[p, {i}]], i -> pi]; Manipulate[ p, {{n, 3}, Slider[Dynamic[n, (n = #; p = ConstantArray[1./n, n]) &], {2, 10, 1}] &}, {{p, ConstantArray[1./3, 3]}, ControlType -> None}, Control[ {{p, ConstantArray[1./3, 3]}, Dynamic[ Column @ Table[With[{i = i}, ...


1

But I need to also have it expandable so that I could view and enter the numeric value Maybe I am missing something, but why use ControlType for? Is this what you mean? Manipulate[ Plot[Sin[a x], {x, -3, 3}, ImageSize -> 600, AspectRatio -> 0.2], {a, -10, 10, Appearance -> "Labeled", ImageSize -> 600} ]



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