Presentation is loading. Please wait.

Presentation is loading. Please wait.

CREATING A MATHEMATICA DEMONSTRATION FROM SCRATCH.

Similar presentations


Presentation on theme: "CREATING A MATHEMATICA DEMONSTRATION FROM SCRATCH."— Presentation transcript:

1 CREATING A MATHEMATICA DEMONSTRATION FROM SCRATCH

2 Software Requirements  To Create  Mathematica Version 8  To View  Mathematica is not needed  CDF Player browser plug-in  I’ve tested IE / Chrome / Safari / Firefox

3 Manipulate  Manipulate[expression, {u,u min,u max,du}]  Add as many parameters as you want {u,u min,u max },{v,v min,v max },…  Add label and initial value {{u,u initial,”label”}, u min,u max }

4 2d Graph

5 Manipulate Vertical Shift

6

7

8 ControlType  The control for a parameter is decided by Mathematica by the context, but this can be overridden  Slider, Slider2D  PopupMenu  {{u,u initial,”label”}, u min,u max },ControlType->PopupMenu  SetterBar  {{u,u initial,”label”},{u_v1,u_v2,…}},ControlType->SetterBar

9 PopupMenu

10 SetterBar

11

12 Control, Delimiter & Grid  Control  Designates the parameter as a control  Control[{{u,u_initial,”label”},u_min,u_max}]  Delimiter  Inserts Horizontal Line between controls  Grid  Helps to organize your controls  Grid[{a 11,a 12,…},{a 21,a 22,…},…}]

13

14 Save Definitions  Will save anything that has been defined outside the scope of the Manipulate command into the Manipulate Command

15 ImageSize  Plot option  ImageSize -> Full

16 Putting on the Web  Authoring to the Wolfram Demonstrations Project  Embedding in a Webpage  Save As CDF Html needed  Deploy Standalone Just creates the cdf file Embed in HTML Creates code to copy and paste to your html file

17 Resources  /IntroductionToManipulate.cdf /IntroductionToManipulate.cdf  CreateAComputableDocumentFormatFile.cdf CreateAComputableDocumentFormatFile.cdf 


Download ppt "CREATING A MATHEMATICA DEMONSTRATION FROM SCRATCH."

Similar presentations


Ads by Google