From: Chris B. <Chr...@no...> - 2011-12-08 04:27:33
|
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. > -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |