On Monday, 8 February 2016 20:09:49 UTC-7, kcrisman wrote: > > > > > I have created html code for a website that has an embedded SageCell >> within it. The code plots a 3D image of two lines obtained from the RK4 >> solution of two differential equations. In SMC, using show(line1+line2) >> outputs a 3D image that can be rotated using the mouse. However, in the >> embedded SageCell, it outputs the 3D image but it is no longer movable. >> From my extensive google searching, I am guessing it is due to some issue >> with jmol in the SageCell. Is there a way around this to make the 3D image >> movable like it is in SMC? Changing the viewer to tachyon produces the same >> problem. >> >> > Hmm, that's interesting. Probably it just isn't becoming auto-live like > it's supposed to when embedded. E.g. try > http://sagecell.sagemath.org/?z=eJwrLshILUrV0AQADokC2Q==&lang=sage and > that should (after a slight pause) start being rotatable. What happens > when you click on the image you get in the Sage cell - does it become live > after a bit? >
It may depend on the browser as well, I suspect I only made JSmol work in Firefox. It should not be terribly hard to do it for other browsers, but other things got higher priority on my little time and nobody else works on SageMathCell. Pull requests welcome, as they say ;-) As a workaround, one can try to use "threejs(your_plot_here)" and hope for the best - the quality is not as good as in JSmol and in certain cases I saw plots completely disappear for no clear reason. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
