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.

84 webMathematica User GuidePlotting with SVGThe source for this example is in webMathematica/Examples/SVG/Plot.jsp. It is closelyrelated to the basic example, Plot.jsp. If you installed webMathematica as described above,you should be able to connect to this JSP via http://localhost:8080/webMathematica/Examples/SVG/Plot.jsp. (You may have some other URL for accessing your server.)An extract of the source follows.Enter a function: Enter a number: Needs["MSP`SVG`"]MSPBlock[{$$fun, $$x1},SVGShow[Plot[$$fun, {x, 0, $$x1}]]]This is very similar to the basic example Plot.jsp. The differences between the two are theloading of the SVG support package and the use of the SVG plotting function SVGShow. If thisworks correctly, you may wish to use some of the features that the Adobe plug-in provides.SVG AnimationsSVG supports a number of animation and interaction features. This example will demonstratethe use of SVG animations.

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

Saved successfully!

Ooh no, something went wrong!