Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there any ways to show a mathematica plot in a web browser so that the user can rotate it and such?

I am open to embedding it in a web page - or some other method such as porting it to a different language such as java or javascript.

share|improve this question
You know about CDF, right? If you're specifically interested in 3D plots, yo should probably mention that in the title. – Jens Jan 30 '13 at 16:22
Actually the reason I asked about CDF is: if you know it but don't like it, I'd recommend looking into WebGL because that's the wave of the future. But if you're fine with CDF, the alternatives aren't worth the effort. – Jens Jan 31 '13 at 4:17

There are several practical ways to achieve this:

  • The most general way is using CDF, but this requires the user to download the CDF Player.

  • There is a small and fast (works great on a Pentium 2) Java applet called LiveGraphics3D that can take Graphics3D objects and show them. Unfortunately it hasn't been updated to be compatible with version 6 of Mathematica, so it'll be some trouble to make sure your Graphics3D doesn't have anything that it does not support.

  • Finally, there's JavaView, a similar but still maintained and much more feature rich program. It supports Mathematica and makes it easy to export Mathematica graphics.

I recommend you use JavaView.

share|improve this answer
+1 for JavaView – Dror Feb 15 '13 at 16:02
@Dror Do you use it? – Szabolcs Feb 15 '13 at 16:05
It is somewhere in my background. It is indeed rather simple to export form MA and put online. Big con is that the export of MA to JavaView is limited and will not yield the same model in terms of colors, shades etc. – Dror Feb 15 '13 at 16:48

There is also WebMathematica:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.