-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sage-shell-mode versus sage-view #28
Comments
Because
We have to make some effort to use
For Python functions/methods, you can use |
thanks so much; one more question: can we split a .sage file to cells like those in Thanks Sho Takemori notifications@github.com writes:
|
I don't know cells in Matlab very well, but code-blocks written by Johan Rosenkilde or ob-sagemath might be useful. |
I have just ported
And I close this issue because it is a duplicate of #5. |
Wonderful, I tried it!!
BTW, "show" launches jmol to play interactively with the figure. Can I
show inside emacs.
Sho Takemori <notifications@github.com> writes:
… Closed #28.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.*
|
The method For example, the following code shows a 2D graph inside Emacs.
Alternatively, you can change the viewer globally.
See http://doc.sagemath.org/html/en/reference/plot3d/sage/plot/plot3d/base.html for detail. |
thanks so much,
but using tachyon inside emacs will not provide interactive graphics
like jmol; right? Is there any way to make graphics interactive inside
emacs so that I have all-inside emacs.
Thanks again for your time
Sho Takemori <notifications@github.com> writes:
… BTW, "show" launches jmol to play interactively with the figure. Can I
show inside emacs.
The method show for 3d graph objects launches jmol. They can be embedded inside Emacs by a_3d_graph_obj.show(viewer='tachyon').
For example, the following code shows a 2D graph inside Emacs.
sage: implicit_plot3d(x^2+y^2+z^2==4, (x, -3, 3), (y, -3,3), (z, -3,3)).show(viewer='tachyon')
Alternatively, you can change the viewer globally.
sage: sage.plot.plot3d.base.SHOW_DEFAULTS['viewer'] = 'tachyon'
See http://doc.sagemath.org/html/en/reference/plot3d/sage/plot/plot3d/base.html for detail.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.*
|
I opened a Sage notebook with |
I opened a new issue (#29). |
Thanks for your great package;
For Sage 7.3 and lowever, I used to use sage-view which enabled me to do inline-graphics within emacs by adding these in .emacs :
(add-hook 'sage-startup-after-prompt-hook 'sage-view-enable-inline-output)
(add-hook 'sage-startup-after-prompt-hook 'sage-view-enable-inline-plots)
My questions:
1- Why a new package, i.e., sage-shell-mode and not elaborating on the existing one (sage-view)?
2- How can I do inline graphics in sage-shell-mode as it was in sage-view?
3- How can I do debugin for sage and python in emacs?
Thanks so much.
The text was updated successfully, but these errors were encountered: