This code:
f[x_, a_, b_] := a x - b x^3
Manipulate[{Plot[f[x, a, b], {x, -2, 2}],
n = -\[Integral]f[x, a, b] \[DifferentialD]x;
Plot[n, {x, -2, 2}, PlotRange -> Automatic]},
{{a, 1/2, "control parameter"}, -1, 2, 0.1},
{{b, 1/4, "control parameter 2"}, -1, 2, 0.01}]
Produces this: (if one starts automatic play)
But this looks unprofessional because of annoying up-down movements.
What can be done to stop shaking?
Automatic
, you must set an explicitPlotRange
. $\endgroup$PlotRange
somewhere in yourManipulate[]
. $\endgroup$