Ask Your Question
0

Plotting in sage 4.8 defaults to firefox, WHY?

asked 13 years ago

root gravatar image

I have just installed sage 4.8. On my system I have gnuplot, gnuplotpy, surf,matplotlib, and perhaps some others. I want plot() in sage to default to ANY of these instead of bringing up firefox to plot a png.

I can get gnuplot if I use a maxima command. Is there any way to get sage to default to some other plot?

Preview: (hide)

Comments

Does [this](http://ask.sagemath.org/question/947/how-to-change-the-default-program-which-open-the) answer your question?

kcrisman gravatar imagekcrisman ( 13 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 13 years ago

root gravatar image

Partial fix: If I add this line to ~/.sage/init.sage: sage.misc.viewer.BROWSER='xv'

It gets rid of firefox, but it uses the minimally capable xv.

I have tried: sage.misc.viewer.PNG_VIEWER='xv' but then firefox is brought up.

If there is a need for a BROWSER setting then clearly xv will not do the trick.

Preview: (hide)
link

Comments

The bit about PNG_VIEWER not working is surprising. One idea - in the ask.sagemath answer I referenced, there is http://trac.sagemath.org/sage_trac/ticket/11795 mentioned in one of the comments. Try applying that patch and see if that helps out.

kcrisman gravatar imagekcrisman ( 13 years ago )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 13 years ago

Seen: 491 times

Last updated: Feb 02 '12