Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to save graphics into an image in sagemath online?

I am running sage cloud with a windows computer and I want to save graphics into an image. I found the following documentation:

sage: c = circle((1,1), 1, color='red')
sage: filename = os.path.join(SAGE_TMP, 'test.png')
sage: c.save(filename, xmin=-1, xmax=3, ymin=-1, ymax=3)

However it save nothing on my system or on the online folder. I suspect that this works when you have sagemath installed on the computer. How can I save on my system or on the online folder?

click to hide/show revision 2
retagged

How to save graphics into an image in sagemath online?

I am running sage cloud with a windows computer and I want to save graphics into an image. I found the following documentation:

sage: c = circle((1,1), 1, color='red')
sage: filename = os.path.join(SAGE_TMP, 'test.png')
sage: c.save(filename, xmin=-1, xmax=3, ymin=-1, ymax=3)

However it save nothing on my system or on the online folder. I suspect that this works when you have sagemath installed on the computer. How can I save on my system or on the online folder?