[sage-support] Re: bar chart fails in pylab

2008-06-01 Thread tkeller
This worked perfectly. Thanks again. Thomas On Jun 1, 3:05 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > Hi Thomas, > > The issue comes from Pylab not knowing how to deal with instances of > Sage's RealNumber class.  When you do "4.0" from the command line, it > gets changed into "RealNumber('4

[sage-support] Re: bar chart fails in pylab

2008-06-01 Thread Mike Hansen
Hi Thomas, The issue comes from Pylab not knowing how to deal with instances of Sage's RealNumber class. When you do "4.0" from the command line, it gets changed into "RealNumber('4.0')". You can see this with the following commands: sage: preparse('4.0') "RealNumber('4.0')" In order to get P

[sage-support] bar chart fails in pylab

2008-06-01 Thread tkeller
Hi folks, Sorry to bombard the mailing list with questions, I'm starting to use sage for more and more things lately. I'm trying to get a figure together for a paper and thought I'd try using the bar() command in pylab. However, the following code (modeled after an example in matplotlib) gives an

[sage-support] Re: propositional calculus

2008-06-01 Thread John P. Burkett
William Stein wrote: > On Sun, Jun 1, 2008 at 8:56 AM, John P. Burkett <[EMAIL PROTECTED]> wrote: >> A document at >> http://modular.math.washington.edu/home/goreckc/sage/logic/bu/%3Cpropcalc.py%3E >> describes how to use a module for propositional calculus. This involves >> importing propcalc, b

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread mabshoff
On Jun 1, 7:03 pm, Mozork <[EMAIL PROTECTED]> wrote: Hi Mozork, > Ok, I've downloaded the latest version (3.0.2) and compiled it > elsewhere than my home directory and it seems to work. Ok, that is good to know. > Thanks for the help. Sure, please let us know if you run into any more trouble.

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread Mozork
Ok, I've downloaded the latest version (3.0.2) and compiled it elsewhere than my home directory and it seems to work. Thanks for the help. Mozork On Jun 1, 5:29 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jun 1, 2:32 pm, "John Cremona" <[EMAIL PROTECTED]> wrote: > > > 2008/6/1 Davi

[sage-support] Re: propositional calculus

2008-06-01 Thread William Stein
On Sun, Jun 1, 2008 at 8:56 AM, John P. Burkett <[EMAIL PROTECTED]> wrote: > > A document at > http://modular.math.washington.edu/home/goreckc/sage/logic/bu/%3Cpropcalc.py%3E > describes how to use a module for propositional calculus. This involves > importing propcalc, boolformula, and logicparse

[sage-support] propositional calculus

2008-06-01 Thread John P. Burkett
A document at http://modular.math.washington.edu/home/goreckc/sage/logic/bu/%3Cpropcalc.py%3E describes how to use a module for propositional calculus. This involves importing propcalc, boolformula, and logicparser. In SAGE 3.0.2, when I try importing any of these three, the response is of the

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread mabshoff
On Jun 1, 2:32 pm, "John Cremona" <[EMAIL PROTECTED]> wrote: > 2008/6/1 David Joyner <[EMAIL PROTECTED]>: > > > > > I think John was referring to /home/mozork/.sage/ (which is where some > > SAGE stuff is > > saved). I think he suggested deleting it and then starting SAGE. > > Yes, that is what

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread John Cremona
2008/6/1 David Joyner <[EMAIL PROTECTED]>: > > I think John was referring to /home/mozork/.sage/ (which is where some > SAGE stuff is > saved). I think he suggested deleting it and then starting SAGE. > Yes, that is what I meant. The 'dot' must have been invisible, clearer to give the full path

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread Mozork
Alright, I will do that then, might take me a couple of hours though. ;) As for the log: I have some webspace, so I'll upload it as soon as it's compiled again. (I just deleted the sage directory and forgot, that the install log was located there as well. ;) ) On Jun 1, 2:19 pm, "David Joyner" <[

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread David Joyner
I think John was referring to /home/mozork/.sage/ (which is where some SAGE stuff is saved). I think he suggested deleting it and then starting SAGE. Just in case there was a corrupted download, can you download sage-3.0.2, and recompile? I just want to be sure that this is not a 32 bit ubuntu is

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread Mozork
I0m not shore this was what you meant, but I've now moved sage to /usr/ bin/sage and I still get the same error. On Jun 1, 1:44 pm, "John Cremona" <[EMAIL PROTECTED]> wrote: > Maybe there is some junk in your .sage directory. Try deleting (or > moving) it before running Sage. > > John > > 2008/6

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread John Cremona
Maybe there is some junk in your .sage directory. Try deleting (or moving) it before running Sage. John 2008/6/1 David Joyner <[EMAIL PROTECTED]>: > > On Sun, Jun 1, 2008 at 7:23 AM, Mozork <[EMAIL PROTECTED]> wrote: >> >> I'm jusing ubuntu 8.04 hardy heron, 32bit. >> What I forgot to mention:

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread Mozork
Yes, I mean compile from source. Both these instructions are, in the respect that I used them, completely the same. All I practically did, was installing all the dependencies recommended in the (apparently outdated) guide, downloading the tarball from http://modular.math.washington.edu/SAGE/dist/s

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread David Joyner
On Sun, Jun 1, 2008 at 7:23 AM, Mozork <[EMAIL PROTECTED]> wrote: > > I'm jusing ubuntu 8.04 hardy heron, 32bit. > What I forgot to mention: I followed the instructions here to build > sage: http://www.msri.org/about/computing/docs/sage/inst/node3.html Those appear to date from 2006! Could you t

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread Mozork
I'm jusing ubuntu 8.04 hardy heron, 32bit. What I forgot to mention: I followed the instructions here to build sage: http://www.msri.org/about/computing/docs/sage/inst/node3.html As for GAP, both commands seem to work fine: [EMAIL PROTECTED]:~/.sage$ ./sage -gp GP/PARI CALCULAT

[sage-support] Re: plot directional field differential equations

2008-06-01 Thread David Joyner
Besides Georg's suggestion there is a file in SAGEHOME/examples/calculus called field_plot2d.sage which does some very crude DF plotting of 1st order ODEs. (Designed specifically for teaching purposes.) You need to read it into SAGE using the attach command, edg sage: attach "SAGEHOME/examples/ca

[sage-support] Re: Sage does not work after build.

2008-06-01 Thread David Joyner
I guess you mean hardy heron, ubuntu 8.04, 64bit? Others are much better than I at deciphering the problem, but it vaguely looks like you have a problem with the GAP install. Could you please try ./sage -gp and then quit SAGE, then try ./sage -gap please? On Sun, Jun 1, 2008 at 5:25 AM, Mo

[sage-support] Sage does not work after build.

2008-06-01 Thread Mozork
Hi, I've built sage (3.0.1) on my ubuntu 8.4 and the build worked just fine. But whenever I want to use sage, I get an error for every command I've tried so far. e.g. [EMAIL PROTECTED]:~/.sage$ ./sage -- | SAGE Version 3.0.1, R

[sage-support] Re: SAGE 3.0.2 for Virtual PC

2008-06-01 Thread Dreamlusion
Dropped it, as I was having trouble with Virtual PC + XUbuntu. I switched to VirtualBox. I have documented the problem I encountered here: http://dreamlusion.wordpress.com/2008/06/01/ubuntu-804-and-virtual-pc-problems/ --~--~-~--~~~---~--~~ To post to this group, s

[sage-support] Re: plot directional field differential equations

2008-06-01 Thread Georg Muntingh
You can use the plot_vector_field command: # Declare your variables: var('x t') # Define you function, for instance: def f(t,x): return t*x # Plot the associated vector field: plot_vector_field((lambda t, x: 1, f(t,x)), (-1, 1), (-2, 2)) There seems to be something awry, however, compare p

[sage-support] plot directional field differential equations

2008-06-01 Thread Hobus
how can I plot the directional field of ordinary differential equations? x'=f(t,x) --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this g