MSPManipulate[expr, {u, umin, umax}] generates interactive web controls that allow interactive manipulation of the value of u MSPManipulate[expr, {u, umin, umax, du}] allows the value of u to vary between umin and umax in steps du MSPManipulate[expr, {{u, uinit}, umin, umax, ...}] takes the initial value of u to be uinit MSPManipulate[expr, {{u, uinit, ulbl}, umin, umax, ...}] labels the controls for u with ulbl MSPManipulate[expr, {u, u1, u2, ...}] allows u to take on discrete values u1,u2,... MSPManipulate[expr, {u, ...}, {v, ...}, ...] provides controls to manipulate each of the u, v, ... |
{u, min, max} | slider ranging in value from min to max | |
{u, min, max, step} | slider ranging in value from min to max in increments of step | |
{u, {True, False}} | checkbox | |
{u, {u1, u2, ...}} | setter bar for few elements; popup menu for more | |
{u} | blank input field | |
{{u,uinit},...} | control with initial value uinit | |
{{u,uinit,ulbl}, ...} | control with label ulbl |
ContainerStyle | formatting for the web page container | |
ControlPlacement | placement of controls | |
ControlType | type of controls to use | |
FormatType | the type of formatting to use | |
OutputSize | the size in pixels for the entire interactive control |
"BorderColor" | Black | color to draw the border | |
"BorderThickness" | 1 | thickness for the border | |
"BorderStyle" | solid | style to draw the border | |
"PaddingTop" | 10 | padding on the top | |
"PaddingBottom" | 10 | padding on the bottom | |
"PaddingLeft" | 10 | padding on the left | |
"PaddingRight" | 10 | padding on the right |
<msp:evaluate> You can change the default style of some of the controls using the ControlType option. The following example uses a PopupMenu to represent the choices; without the option a SetterBar would be used. <msp:evaluate> MSPManipulate always formats its argument into an image; by default it uses StandardForm. However, it can be changed to format into TraditionalForm; which is shown in the following. <msp:evaluate> The size of the finished interactive web output can be controlled by the OutputSize option. This has a default that tries to keep track of the number of controls. If there is not enough space then scrollbars will be added automatically. In the following example a size of 800 by 800 pixels is used. <msp:evaluate> |