MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

WebMathematica and SVG graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117823] WebMathematica and SVG graphics
  • From: Eduardo <eduzea at gmail.com>
  • Date: Fri, 1 Apr 2011 02:31:45 -0500 (EST)

Hi,

I have some Mathematica plots with interactive features like Tooltip
and Mouseover which I'm trying to reproduce in a web environment using
WebMathematica. From the documentation it is not clear how far one can
go. Exporting a ListPlot with Mouseover effects drops the interactive
component when it is rendered as a GIF or SVG.

One approach I am trying is to write the plot as SVG and then use
Mathematicas XML capabilities to insert the Mouseover in the SVG.
Apparently in version 5.0 there was a function
XML`SVG`GraphicsToSymbolicSVG which returned the SVG code, but in 8.0
I can only find Export[] in SVG format. So my questions are:

1) Is there a better way to do this, getting interactive plot features
like Mouseover into a web graphics format?
2) If SVG is the way to go, is there a package in 8.0 that can help
(like XML`SVG` in 5.0)
3) If not, is there a way to Export the SVG to an in memory variable
for further processing, rather than to a file?

Any pointers a greatly appreciated.

Thanks and regards,

Eduardo Zea






  • Prev by Date: Re: Wolfram, meet Stefan and Boltzmann
  • Next by Date: Re: NonlinearFit for specific data
  • Previous by thread: Re: Wolfram, meet Stefan and Boltzmann
  • Next by thread: Re: WebMathematica and SVG graphics