Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'CDF InputField not working' topicStudent Support Forum > General > Archives > "CDF InputField not working"

Next Comment >Help | Reply To Topic
Author Comment/Response
Mel
09/25/12 09:07am

I made a cdf that takes the user input from an inputfield and graphs it. Does the cdf player support this?

I have tried the .cdf file in Mathematica and it worked when I modify the inputfield, however when I try it on the CDF player after I update the input field, the graph does not update.

Below is my code that I am using, and I have also attached the .nb

zline[fn_, zed_] :=
ContourPlot[fn == zed, {a, -2, 2}, {b, -2, 2},
ContourShading -> None, ContourStyle -> {Thickness[0.01], Red}];
cplot[fn_] :=
ContourPlot [fn, {a, -2, 2}, {b, -2, 2}, ContourShading -> None];
thrdplot[fn_] := Plot3D[fn, {a, -3, 3}, {b, -2, 2}];
planeplot[zed_] :=
Plot3D[zed, {a, -3, 3}, {b, -2, 2},
PlotStyle -> { Red, Opacity[0.5]}, Mesh -> None];
Manipulate[
GraphicsGrid[ {{Show[zline[fxn, zval], cplot[fxn]],
Show[thrdplot[fxn], planeplot[zval]]}},
ImageSize -> 900] , {xval, 1, 3}, {zval, -zrange, zrange}, {zrange,
3}, {fxn, Sin[a] Sin[b]}, SaveDefinitions -> True]

Thanks!

Attachment: ContourPlot App.nb, URL: ,

Subject (listing for 'CDF InputField not working')
Author Date Posted
CDF InputField not working Mel 09/25/12 09:07am
Re: CDF InputField not working Forum Modera... 09/25/12 10:46am
Next Comment >Help | Reply To Topic