|
From: maitai <mai...@ex...> - 2008-11-19 01:07:31
|
Hi, I created SVG 3d plots for some scientific data, and I need to be able to rotate the 3d plot. I'd like to do that in the browser that displays the SVG plot, using javascript to redraw the plot. I know that I could simply re-generate the plot in gnuplot and setting different view points, but that would be inefficient. the problem is I don't know about graphics and I don't know well how to do it. SVG stores the plot in DOM, and I want to apply the necessary transforms to the elements in the DOM. But I'm not sure what these transforms (transformation matrix? *) should be to rotate in 3d the plot. Has anyone tried this with svg plots from gnuplot? I know this question is not strictly on gnuplot. Nonetheless, I thought that maybe someone here may have tried this. I couldn't find any examples on the internet. I'd much appreciate any hints. Thanks Jose PS: I attach a simple example svg plot: http://www.nabble.com/file/p20571954/sampleplot.svg sampleplot.svg transform matrix: http://www.w3.org/TR/SVG/coords.html#EstablishingANewUserSpace -- View this message in context: http://www.nabble.com/change-view-point-in-SVG-3d-plots-tp20571954p20571954.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |