Ask Your Question
1

saving sage output which contain graphs

asked 2016-01-20 15:08:08 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I have a sage program, which contains texts as well as some graphs. How to save this output in some file with some format. If I save it in txt file graphs are not coming in the output.

Thanks for your valuable timing.

edit retag flag offensive close merge delete

Comments

3

We need more information: are you using the Sage notebook? The Ipython notebook? What do you want to do with the file: is it just to read it or you want to be able to upload it on some other Sage server?

vdelecroix gravatar imagevdelecroix ( 2016-01-20 15:19:51 +0100 )edit

I am using Sage notebook and I will use the output file just to read . sorry for the incomplete information in the question.

GA316 gravatar imageGA316 ( 2016-01-21 06:26:17 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-01-21 13:25:52 +0100

slelievre gravatar image

There are various ways you might want to save the output of your work with Sage.

  1. save information to various files

    1.1. save text output to one or several text files, and graphics to one or several graphics files (eg png files)

  2. produce a latex document and resulting pdf

    2.1. use LaTeX with the SageTeX package, and create a pdf containing your code and results

  3. produce a notebook worksheet with output

    3.1. work in a SageMathCloud Sage worksheet (.sagews) and make the worksheet accessible online

    3.2 use a Jupyter notebook and make your worksheet available online with output, possibly hosting it on SageMathCloud, or tmpnb, or nbviewer.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-20 15:08:08 +0100

Seen: 439 times

Last updated: Jan 21 '16