[sage-support] Re: ubuntu sage install error: "line 199: 30899 Illegal instruction sage-ipython "$@" -i"

2009-09-12 Thread William Stein
On Sat, Sep 12, 2009 at 9:37 PM, Chris Seberino wrote: > > I installed sage-4.1.1-linux-Ubuntu_9.04-i686-Linux.tar.gz twice on > my Ubuntu 9.04 laptop. > > Both times I get the following... > > /usr/local/sage-4.1.1-linux-Ubuntu_9.04-i686-Linux/local/bin/sage- > sage: line 199: 30899 Illegal inst

[sage-support] ubuntu sage install error: "line 199: 30899 Illegal instruction sage-ipython "$@" -i"

2009-09-12 Thread Chris Seberino
I installed sage-4.1.1-linux-Ubuntu_9.04-i686-Linux.tar.gz twice on my Ubuntu 9.04 laptop. Both times I get the following... /usr/local/sage-4.1.1-linux-Ubuntu_9.04-i686-Linux/local/bin/sage- sage: line 199: 30899 Illegal instruction sage-ipython "$@" -i cs --~--~-~--~~-

[sage-support] Re: Plotting absolute value of a complex function

2009-09-12 Thread kcrisman
On Sep 12, 3:49 pm, Jason Grout wrote: > William Stein wrote: > > On Sat, Sep 12, 2009 at 12:05 PM, Andi Walz > > wrote: > >> Hi, > > >> I'm just new to SAGE and now trying to make a 2D-plot of the following > >> kind > > >> plot( abs( exp( i*x ) ) ) > > >> but I don't get it working. I know t

[sage-support] Re: list_plot3d

2009-09-12 Thread Ranjit
Thanks, I didn't even notice that extra 0 in there. On Sep 12, 10:16 am, Marshall Hampton wrote: > I think John is right that your problem is mainly from giving > list_plot3d too many points.  I assume in your original code that you > have done "import numpy as np" somewhere.  Then your code wor

[sage-support] Re: Plotting absolute value of a complex function

2009-09-12 Thread Jason Grout
William Stein wrote: > On Sat, Sep 12, 2009 at 12:05 PM, Andi Walz > wrote: >> Hi, >> >> I'm just new to SAGE and now trying to make a 2D-plot of the following >> kind >> >> plot( abs( exp( i*x ) ) ) >> >> but I don't get it working. I know that this kind of plot will be very >> boring, but that'

[sage-support] Re: Plotting absolute value of a complex function

2009-09-12 Thread William Stein
On Sat, Sep 12, 2009 at 12:05 PM, Andi Walz wrote: > > Hi, > > I'm just new to SAGE and now trying to make a 2D-plot of the following > kind > > plot( abs( exp( i*x ) ) ) > > but I don't get it working. I know that this kind of plot will be very > boring, but that's just one try on my way further

[sage-support] Plotting absolute value of a complex function

2009-09-12 Thread Andi Walz
Hi, I'm just new to SAGE and now trying to make a 2D-plot of the following kind plot( abs( exp( i*x ) ) ) but I don't get it working. I know that this kind of plot will be very boring, but that's just one try on my way further. The problem is, that everytime it ends up with an error message lik

[sage-support] Re: Jmol will not display graphics

2009-09-12 Thread Marshall Hampton
That works fine for me, using sagenb and Firefox. Can you reproduce this? I would remove all other 3d plots in the worksheet (i.e. comment them out) if there are any, and then restart Firefox and try again. -M. Hampton On Sep 11, 11:50 am, wkehowski wrote: > Hello, > > When I try to execute >

[sage-support] Re: list_plot3d

2009-09-12 Thread Marshall Hampton
I think John is right that your problem is mainly from giving list_plot3d too many points. I assume in your original code that you have done "import numpy as np" somewhere. Then your code works fine for me if I use "grid=np.arange(-32,32,0.5)" instead of 0.05. With the 0.05 differences, you are

[sage-support] Re: graphics broken in 10.6?

2009-09-12 Thread William Stein
On Sat, Sep 12, 2009 at 5:05 AM, j9mosely wrote: > > Here are more details: > > I am running OS 10.6 on a MacBook: 2GHz Intel Core 2 Duo processor. > > I installed sage 4.1.1 for the first time a couple of days ago, after > the OS upgrade. > > Here is a cut and paste from a terminal session showi

[sage-support] Re: graphics broken in 10.6?

2009-09-12 Thread j9mosely
Here are more details: I am running OS 10.6 on a MacBook: 2GHz Intel Core 2 Duo processor. I installed sage 4.1.1 for the first time a couple of days ago, after the OS upgrade. Here is a cut and paste from a terminal session showing the problem. Last login: Sat Sep 12 07:52:27 on ttys001 /App

[sage-support] Re: Partitioning a list?

2009-09-12 Thread William Stein
On Sat, Sep 12, 2009 at 3:44 AM, Erik Stanford wrote: > > For the last couple of days I've been trying to figure out how to get > Sage to generate a list of partitions of a list. For example, the list > [1,1,2] would return [ [[1],[1,2]] , [[1,1],[2]] , [[1,1,2]] ] or > something along those lines

[sage-support] Partitioning a list?

2009-09-12 Thread Erik Stanford
For the last couple of days I've been trying to figure out how to get Sage to generate a list of partitions of a list. For example, the list [1,1,2] would return [ [[1],[1,2]] , [[1,1],[2]] , [[1,1,2]] ] or something along those lines. SetPartitions looked like it would have been a nice choice, bu