On Dec 10, 2007 11:03 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > On Dec 10, 2007 4:58 PM, William Stein <[EMAIL PROTECTED]> wrote: > > > > On Dec 10, 2007 1:39 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > > > > > The plots look really nice. Thanks for posting this. > > > Since pyglet depends on it, I'm curious what people think of opengl. > > > > Try this in Sage right now. It might work for you. > > > > (1) From the command line, type > > > > sage -sh > > > > (2) Type > > > > bash$ pythonw > > > "pythonw" gave "command not found". If you meant "python", I got a > segfault: > > > [EMAIL PROTECTED]:/mnt/drive_hda1/sagefiles/sage-2.8.13.alpha1$ python > Python 2.5.1 (r251:54863, Nov 26 2007, 13:44:20) > [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from sympy import symbols, Plot > >>> x,y,z = symbols('xyz') > >>> Plot(x*y**3-y*x**3) > [0]: x*y**3 - y*x**3, 'mode=cartesian' > >>> Window initialization failed: No conforming visual exists > Segmentation fault (core dumped)
It needs fixing to work from Sage notebook, there is some pythonw exception, but I have no idea what pythonw is. As to the segfault, it is probably a bug in pyglet, I just updated to the newest one and released sympy with that a few days ago. But ubuntu should work out of the box (if you are using ubuntu). Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---