Ask Your Question
1

saving sage output which contain graphs

asked 9 years ago

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.

Preview: (hide)

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 ( 9 years ago )

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 ( 9 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 9 years ago

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.

Preview: (hide)
link

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: 9 years ago

Seen: 450 times

Last updated: Jan 21 '16