On 12/07/2011 11:36 PM, Jason Grout wrote: > On 12/7/11 10:27 PM, Chris Barker wrote: >> On 12/5/11 9:49 PM, Jason Grout wrote: >>> Has anyone ever worked on a backend that generates javascript code for >>> one of the javascript plotters out there (like jsxgraph or flot)? >>> Alternatively, I suppose we could generate an svg or html5 plot and then >>> accompany it with the javascript code to trace the function, etc. >> Someone has worked on a html5 back-end, It was jsut discussed a bit on >> the thread "Using the Agg renderer by itself" >> >> Here's a cut and paste: >> >> On 11/27/11 12:33 PM, Ludwig Schwardt wrote: >> > >> > Ben is referring to mplh5canvas, available at >> > http://code.google.com/p/mplh5canvas/. The main advantage of this >> > approach is interactive zooming of plots within the browser. If this >> is >> > not important to you, it will probably be faster to generate static >> PNGs >> > or SVGs. >> > >> > The HTML5 backend should be easy to try out, as it is a pure Python >> > package with no onerous dependencies. >> > > Michael Droettboom played with this a little at the Sage Days in March, > IIRC, and I seem to think he also whipped up an interactive demo using > svg plots. Michael, do you remember what your conclusions were? > My conclusion was basically that the current crop of browsers are plenty fast and its generally feasible. But rewriting all that Python code in Javascript ain't a small project ;)
Mike ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel