ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 28 Mar 2016 02:46:02 +0200Interactive 3d plotting in SageMathCloud Jupyter?https://ask.sagemath.org/question/32898/interactive-3d-plotting-in-sagemathcloud-jupyter/So I'm experimenting with some 3d plots. I can create an interactive plot in Sage with plot3d, but the options are limited. I can create a 3d plot with more control using matplotlib inside Jupyter, except that the resulting plot is not interactive - I can't pan, zoom, or rotate to find the best view of the plot. So what I need is some plotting functionality which has the control of matplotlib, and the interactivity of plot3d. I understand that something similar can be obtained with Mayavi, but this is not part of SageMathCloud Jupyter. And I want to do this online so I can share it with a co-worker. Advice, as usual , would be appreciated!AlasdairMon, 28 Mar 2016 02:46:02 +0200https://ask.sagemath.org/question/32898/Is it possible to have interactive graphics (e.g. a HTML5/Javascript canvas) in a Sage notebook?https://ask.sagemath.org/question/29557/is-it-possible-to-have-interactive-graphics-eg-a-html5javascript-canvas-in-a-sage-notebook/ Hi, I'd like to have a canvas in which I can drag objects with the mouse and each mouse motion event triggers a Sage calculation that will update some other object in the cancas. Is that possible?R.OldenburgThu, 24 Sep 2015 11:34:45 +0200https://ask.sagemath.org/question/29557/webpages created by sagehttps://ask.sagemath.org/question/8337/webpages-created-by-sage/I am a Mathematics teacher interested in having a website where students can do live calculations and mathematical investigations, in one way similar to webmathematica. I am new to Sage and I am not a developer, but interested in live investigations over the internet. I would really appreciate some guidance in this direction. Thanks.teachTue, 20 Sep 2011 12:58:06 +0200https://ask.sagemath.org/question/8337/Comparing Sage and Mathematica for an Introductory Coursehttps://ask.sagemath.org/question/8957/comparing-sage-and-mathematica-for-an-introductory-course/I'm working with a committee that's revising the undergraduate math curriculum for UCLA biology majors. We're getting rid of a lot of paper and pencil calculation that's hardly ever used in mathematical biology and introducing a lot of modeling, dynamical systems and computer work. Earlier, we decided to use Mathematica for the course, but I recently learned about Sage and like the idea of using a free program with similar features to Mathematica.
While the students will be learning some programming during the course, that's not our emphasis and they need to be able to use a fairly high level of interactivity from the beginning. (For example, they should be able to interactively manipulate function parameters in the first or at worst second lab session.) Since I'm very much a newcomer to Sage, I want to ask more experienced users how hard it would be to reproduce the functionality of [this Mathematica notebook](http://db.tt/d332CVVs) in Sage. I've seen the slider examples, but they use quite a bit of code. An equivalent to Equation Trekker, which allows you to specify initial condition for a two-ODE system by clicking on the phase plane, would also be very useful. Has anyone coded such a thing for Sage?jaiaMon, 07 May 2012 01:25:09 +0200https://ask.sagemath.org/question/8957/a functional java applet for 2d plotshttps://ask.sagemath.org/question/8387/a-functional-java-applet-for-2d-plots/3d plotting with jmol is great idea. However, all what I find for 2d plotting generates a picture only. I'd like to have an applet for that which supports cursors, zooming, maybe hiding certain plotted lines and other interactive control elements. Of course, this can be somehow done with @interact, but the applet would work much faster than the link browser-worksheet-sage. At least, an attempt to introduce cursor did not seem to have a handy result:
p1=plot (sin(x))
@interact
def _(b = slider(-1, 1, 0.01, default=0.5, label='cursor')):
p2=line(((b,-1),(b,1)), color='green')
show(p1+p2,xmin=-1,xmax=1,ymax=1,ymin=-1)
Does anybody know if there is an easy way to do this, or if there is not, where one may start integrating such an applet into sage? There are a number of open-source graphing applets. [Here](http://academic.sun.ac.za/mathed/java/Index.htm) is the example, maybe, even not the best one.
ADuC812Mon, 17 Oct 2011 10:35:53 +0200https://ask.sagemath.org/question/8387/