Manipulate
Manipulate[expr_, {u_Symbol, min_, max_}..]
Manipulate[expr_, {{u_Symbol, initial_}, min_, max_}..]
Manipulate[expr_, {{u_Symbol, initial_}, min_, max_, step_}..]
Manipulate[expr_, {{u_Symbol, initial_, label_String}, min_, max_, step_}..]
generates a version of expr
with controls added to allow interactive reevaluation
Manipulate[expr_, {{u_Symbol}, values_List}..]
Manipulate[expr_, {{u_Symbol, initial_}, values_List}..]
Manipulate[expr_, {{u_Symbol, initial_, label_String}, values_List}..]
Examples
Manipulate Series
Manipulate[Series[Sinc[x], {x, 0, n}], {n, 1, 5, 1}]
Manipulate[Plot3D[Sin[n x] Cos[n y], {x,-1,1}, {y,-1,1}], {n, 1, 5, 1}]
Manipulate
reevaluates the whole expression similar to Refresh, which is a huge overhead for the system. Please, consider to use ManipulatePlot, AnimatePlot, ManipulateParametricPlot or general dynamics using Offload (see Dynamics) for any plots, rapidly changing data and smooth transitions instead of Manipulate
.
Manipulate
is caching all results by the default.
Portability
Manipualte
cannot be exported to Static HTML, however, Dynamic HTML is possible to keep the functionality working, but the file size might be quite large.
Due to garbage collection problem, it is no longer possible to export using dynamic mode. Please write to Github issues, if you consider this problem important. Apart from that, ManipulatePlot as well asManipulateParametricPlot will work properly being exported using dynamic mode.