11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

96 webMathematica User GuideIn the following example, the variable appears with the label "shift", and it has the initialvalue 10.MSPManipulate[Plot[ Cos[var+x], {x,0,2Pi}], {{var, 10, "shift"}, 0,20}]Formatting and OutputMSPManipulate takes a couple of options that control the formatting of the argument and theoutput size.optiondefaultFormatType StandardForm formatting for the argumentOutputSize Automatic output sizeOptions of MSPManipulate.MSPManipulate always formats its argument into an image; by default it uses StandardForm.However, it can be changed to format into TraditionalForm; this is shown in the followingexample.MSPManipulate[ Integrate[ 1/(1-^num),x], {num, 1,20,1},FormatType -> TraditionalForm]The size of the finished interactive web output can be controlled by the OutputSize option. Thishas 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 pixelsis used.MSPManipulate[ Integrate[ 1/(1-^num),x], {num, 1,20,1},OutputSize -> {800,800}]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!