Thank you all for your responses.

Doing soime googling around, I discovered that that openSuSE 11.1 has
the same problem with evince I encountered.  I followed William's
advice above and, before firing up sage (as a normal user), I exported
the SAGE-BROWSER environment variable as /opt/kde3/kdvi  (I have not
upgraded to KDE4 yet).  My example above worked fine now, but plots
did not work.  So, I shut down sage, exported SAGE-BROWSER as '/usr/
bin/firefox', and now Firefox either plots the ****SAGE**** plots
directly or, in the case of the example above with the Laplace
transform, prompts me what program to use, I respond with '/opt/kde3/
kdvi', and kdvi displays the formula correctly.

HOWEVER, matplotlib plots show as Line2D(_line1).  For example,

sage: import pylab
sage: import scipy
sage: import scipy.special as special
sage: x=scipy.linspace(0.0r,5.0r)
sage: show(pylab.plot(special.airy(x)[0],color='red'))

This brings up firefox (as per the  SAGE-BROWSER environment variable
above), firefox asks me if it should use kdvi, I reply in the
affirmative, and kdvi pops up a window saying "SAGE" and "Line2D
(_line1)" (without the quotes!  In prior versions of sage, I had no
problems displaying matplotlib plots.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to