On 9/3/11 5:14 AM, David Joyner wrote:
On Fri, Sep 2, 2011 at 11:31 PM, Anton Sherwood
<[email protected]> wrote:
Hi everybody.
In the tutorial:
Alternatively, evaluating c.save('filename.png')
will save the plot to the given file.
I tried it, then searched my disk for the relevant filename
with no result. Is it a bug? What directory ought it to be in?
If you are running sage from the command line,
the plot is saved in the same directory you started sage in.
(I guess the notebook is similar, but I'm not sure.)
You can include a path, along with the filename, if you prefer
it to be saved somewhere else. Type c.save? for details.
In the notebook, the graphic would be saved in a temporary directory
specific to that cell. The graphic would then be copied to a directory
inside the sage notebook directory tree. If you wanted to save it
somewhere specific from the notebook, use the full path:
c.save('/home/mydir/test.png')
Jason
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org