[sage-support] Re: 3d axes seem off

2009-09-14 Thread Jason Grout
Jason Grout wrote: > I can't make sense of the numbers on the bounding box of this 3d plot: > > points([(0,0,0), (1, 1, 1), (3, 0.5, -2)]) > > The y-axis looks okay, and is labeled 0, 0.5, 1. > > The z-axis is labeled 1, -0, -2, with all numbers equally spaced. > > The x-axis is labeled 0, 2,

[sage-support] Re: eval(string)

2009-09-14 Thread Robert Bradshaw
On Sep 14, 2009, at 12:09 PM, Mikie wrote: > Robert, > > Can I use your technique above to input this string? The "[5]*3" > gives me a problem > > L1="[3,10,15,23,25,30,3,[5]*3]" You can, but here you're getting to the point where you're allowing arbitrary input, not just a list of integers.

[sage-support] Re: Line Plots

2009-09-14 Thread Jason Grout
William Stein wrote: > On Mon, Sep 14, 2009 at 1:26 PM, Eric Jackson wrote: >> I'm not thinking of matplotlib html5. However, I am fairly new to >> working with Sage. I will do some research to see what matplotlib >> html5 is about. >> >> As far as what I'm doing, I've created a plot of a funct

[sage-support] Re: latex/jsmath error

2009-09-14 Thread William Stein
On Mon, Sep 14, 2009 at 1:21 PM, Mikie wrote: > > This is from debug > cd "/root/.sage/temp/Ralph/5161/dir_1"&& sage-native-execute latex > \\nonstopmode \\input{sage8.tex}  && sage-native-execute dvips > sage8.dvi > && sage-native-execute convert -density 130x130 -trim sage8.ps > sage8.png > > /

[sage-support] Re: Line Plots

2009-09-14 Thread William Stein
On Mon, Sep 14, 2009 at 1:26 PM, Eric Jackson wrote: > > I'm not thinking of matplotlib html5.  However, I am fairly new to > working with Sage.  I will do some research to see what matplotlib > html5 is about. > > As far as what I'm doing, I've created a plot of a function, say sin > (t) that is

[sage-support] 3d axes seem off

2009-09-14 Thread Jason Grout
I can't make sense of the numbers on the bounding box of this 3d plot: points([(0,0,0), (1, 1, 1), (3, 0.5, -2)]) The y-axis looks okay, and is labeled 0, 0.5, 1. The z-axis is labeled 1, -0, -2, with all numbers equally spaced. The x-axis is labeled 0, 2, 3, again, with equally-spaced numbers

[sage-support] Re: question about using Sage with Pydev

2009-09-14 Thread Greg
Does that provide all of the Sage functionality ? Greg On Sep 14, 12:28 pm, niels wrote: > > Hi, I've been trying to get Sage to work with Eclipse/Pydev. > > When I run it using python on the command prompt, it seems to work. > > Hi, > > i have Eclipse 3.4.2 and Pydev version 1.4.8.2881 and it

[sage-support] how to get syntax highlightning to work for Sage in KDE

2009-09-14 Thread Greg
After a fair bit of looking, I have not been able to find any way for Python IDEs to work with .sage files. (Let alone integrating the Sage engine.) This strikes me as an incredibly important problem. (My apologies if there is some approach I've overlooked.) While obviously not a perfect solution

[sage-support] Re: latex/jsmath error

2009-09-14 Thread John H Palmieri
On Sep 14, 1:21 pm, Mikie wrote: >  Sage Version 3.2. This is almost a year old, which is getting pretty old, especially given the fast pace of Sage development. Later versions of Sage should give better error messages if "convert" (from the ImageMagick suite) and/or "dvipng" are not installed

[sage-support] Re: Line Plots

2009-09-14 Thread Jason Grout
Eric Jackson wrote: > I'm not thinking of matplotlib html5. However, I am fairly new to > working with Sage. I will do some research to see what matplotlib > html5 is about. It's not finished. Here is a demo of what gnuplot can do with an html5 canvas backend: http://gnuplot.sourceforge.net/

[sage-support] Re: latex/jsmath error

2009-09-14 Thread Minh Nguyen
Hi, On Tue, Sep 15, 2009 at 6:21 AM, Mikie wrote: > > This is from debug > cd "/root/.sage/temp/Ralph/5161/dir_1"&& sage-native-execute latex > \\nonstopmode \\input{sage8.tex} && sage-native-execute dvips > sage8.dvi > && sage-native-execute convert -density 130x130 -trim sage8.ps > sage8.png

[sage-support] Re: Line Plots

2009-09-14 Thread Eric Jackson
I'm not thinking of matplotlib html5. However, I am fairly new to working with Sage. I will do some research to see what matplotlib html5 is about. As far as what I'm doing, I've created a plot of a function, say sin (t) that is evaluated from t, -2*pi,2*pi. As I am viewing the plot, I would

[sage-support] Re: latex/jsmath error

2009-09-14 Thread Mikie
This is from debug cd "/root/.sage/temp/Ralph/5161/dir_1"&& sage-native-execute latex \\nonstopmode \\input{sage8.tex} && sage-native-execute dvips sage8.dvi && sage-native-execute convert -density 130x130 -trim sage8.ps sage8.png /var/www/html/sage/local/bin/sage-native-execute: line 8: latex:

[sage-support] Re: Older version of sage.

2009-09-14 Thread Minh Nguyen
Hi John, On Tue, Sep 15, 2009 at 6:12 AM, Jerome North wrote: > > Hi all! > Where can i get older version of sage? Only source tarballs of older versions are available. You can get them at http://www.sagemath.org/src-old/ -- Regards Minh Van Nguyen --~--~-~--~~~-

[sage-support] Older version of sage.

2009-09-14 Thread Jerome North
Hi all! Where can i get older version of sage? Regards, John. --~--~-~--~~~---~--~~ 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 t

[sage-support] Re: latex/jsmath error

2009-09-14 Thread John H Palmieri
On Sep 14, 12:38 pm, Mikie wrote: > Put > from sage.misc.latex import JSMath Why? This is imported into the notebook by default, so you don't need to do this. > into the notebook. Then > > %latex > $x^2-x$ > > Then I get the following error > An er

[sage-support] latex/jsmath error

2009-09-14 Thread Mikie
Put from sage.misc.latex import JSMath into the notebook. Then %latex $x^2-x$ Then I get the following error An error occured. Error latexing slide. It is possible to do Latex in Sage? --~--~-~--~~~---~--~~ To post to th

[sage-support] Re: eval(string)

2009-09-14 Thread Mikie
Robert, Can I use your technique above to input this string? The "[5]*3" gives me a problem L1="[3,10,15,23,25,30,3,[5]*3]" On Sep 10, 1:56 pm, Robert Bradshaw wrote: > On Sep 10, 2009, at 12:24 PM, Robert Bradshaw wrote: > > > > > > > > > On Sep 9, 2009, at 9:01 AM, Tim Dumol wrote: > > >>

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread Евгений
If you mean question "When I compile Sage my computer beeps and shuts down or hangs." I don't think it is possible. I'm using this computer as server, and it's got no X11 or any graphics at all: [opera...@heaviside sage-4.1.1-linux-Ubuntu_9.04-i686-Linux]$ free -m total used

[sage-support] Re: command line matplotlib/scipy/numpy on Mac

2009-09-14 Thread William Stein
On Mon, Sep 14, 2009 at 10:29 AM, Craig Jones wrote: > > I have been using Enthought to use the scipy/numpy/matplotlib.  But it > is compiled as 32 bit for the Mac.  Someone suggested I use Sage from > the command line as it is compiled 64-bit for the Mac. > > I am running it as: > > env PYTHONPA

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread Minh Nguyen
On Tue, Sep 15, 2009 at 3:40 AM, Евгений wrote: > > May be i can downgrade gcc, but to what version? The GCC bug was reported to take effect when compiling Pari. I don't even know if the compilation failed for you when you were compiling Pari. Before upgrading your GCC version, try the tips I me

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread Евгений
May be i can downgrade gcc, but to what version? On Sep 14, 5:26 pm, Minh Nguyen wrote: > Hi, > > > > On Tue, Sep 15, 2009 at 3:11 AM, Евгений wrote: > > > > > > > CC > > Version > > gcc -

[sage-support] command line matplotlib/scipy/numpy on Mac

2009-09-14 Thread Craig Jones
I have been using Enthought to use the scipy/numpy/matplotlib. But it is compiled as 32 bit for the Mac. Someone suggested I use Sage from the command line as it is compiled 64-bit for the Mac. I am running it as: env PYTHONPATH=$PYTHONPATH:/Applications/sage/local/lib/python2.6/site- packages

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread Minh Nguyen
Hi, On Tue, Sep 15, 2009 at 3:11 AM, Евгений wrote: > > > > CC > Version > gcc - > v > Using built-in > specs. > Target: i686-pc-linux- > gnu > Configured with: ../configure --prefix=/usr --

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread Minh Nguyen
Hi, On Tue, Sep 15, 2009 at 3:11 AM, Евгений wrote: > I guess i have got hardware problems with memory? Compiling Sage is quite resource intensive. From the error message you posted, I guess it failed when you were trying to compile ATLAS. What's the amount of RAM you have? The FAQ has some

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread Евгений
CC Version gcc - v Using built-in specs. Target: i686-pc-linux- gnu Configured with: ../configure --prefix=/usr --enable-shared --enable- languages=c,c++,fortran,objc,obj-c++ --enable-threads=

[sage-support] Re: Line Plots

2009-09-14 Thread Jason Grout
William Stein wrote: > It will in the near future. Are you thinking of the matplotlib html5 canvas backend that is being developed? Or is there something else that you are doing? Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@g

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread William Stein
On Mon, Sep 14, 2009 at 8:55 AM, Sand Wraith wrote: > > Hi all! > > I'am trying to use sage on ArchLinux server. There is not enough space > on /home, so i create a directory /ubin/sage and unpack sage in there: > > drwxr-xr-x 3 operator users 4.0K 2009-09-14 22:33 sage > > then i'am trying to ru

[sage-support] Re: Building problems on ArchLinux

2009-09-14 Thread Minh Nguyen
Hi, On Tue, Sep 15, 2009 at 1:55 AM, Sand Wraith wrote: > any suggestions?.. help please.. Maybe this FAQ would help: http://wiki.sagemath.org/faq#Otherquestions -- Regards Minh Van Nguyen --~--~-~--~~~---~--~~ To post to this group, send email to sage-sup

[sage-support] Building problems on ArchLinux

2009-09-14 Thread Sand Wraith
Hi all! I'am trying to use sage on ArchLinux server. There is not enough space on /home, so i create a directory /ubin/sage and unpack sage in there: drwxr-xr-x 3 operator users 4.0K 2009-09-14 22:33 sage then i'am trying to run "make" command, and of this it's output here: ---

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

2009-09-14 Thread Andi Walz
Thank you very much! In fact, that is all I need :-) Andi Walz On 12 Sep., 21:28, 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 ) ) ) >

[sage-support] Re: Line Plots

2009-09-14 Thread Jason Grout
William Stein wrote: > On Mon, Sep 14, 2009 at 9:10 AM, Jason Grout > wrote: >> William Stein wrote: >> >> >>> It will in the near future. >> Are you thinking of the matplotlib html5 canvas backend that is being >> developed? Or is there something else that you are doing? > > I'm going to do *s

[sage-support] Re: Line Plots

2009-09-14 Thread William Stein
On Mon, Sep 14, 2009 at 9:10 AM, Jason Grout wrote: > > William Stein wrote: > > >> It will in the near future. > > Are you thinking of the matplotlib html5 canvas backend that is being > developed?  Or is there something else that you are doing? I'm going to do *something*. I think there are n

[sage-support] Re: question about using Sage with Pydev

2009-09-14 Thread niels
> Hi, I've been trying to get Sage to work with Eclipse/Pydev. > When I run it using python on the command prompt, it seems to work. Hi, i have Eclipse 3.4.2 and Pydev version 1.4.8.2881 and it works with sage 4.1.1 In the Preferences->Pydev->Interpreter the Environment vars should be set, but

[sage-support] server_pool problem.

2009-09-14 Thread Thierry Dumont
Hi, something I do not understand. 0) I have 2 users: sage and sage1 (on the same machine). 1) Logged in as sage, I can do "ssh sa...@localhost some_command" without passwd (authorized_keys2 in ~sage1/.ssh) 2) Now I launch the notebook: notebook(address='',secure=True,port=8001,timeout=3600,uli

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-14 Thread Burcin Erocal
Hi Francois, On Mon, 14 Sep 2009 13:55:33 +0200 Francois Maltey wrote: > > Hello, > > I don't find usual trigonometric transform in sage : > > expand (sin (2*x)) == 2*sin(x)*cos(x) sage: t = sin (2*x) sage: t.tri t.trig_expandt.trig_simplify sage: t.trig_expand() 2*sin(x)*cos(x) > co

[sage-support] Re: Line Plots

2009-09-14 Thread kcrisman
On Sep 14, 6:20 am, William Stein wrote: > On Sun, Sep 13, 2009 at 9:05 PM, Eric Jackson wrote: > > > Does sage have the capability of allowing the user to view x and y > > coordinates (x,y) by moving his/her cursor along the line created in a > > plot? Matlab and Microsoft Excel have a featu

[sage-support] max and min evaluating symbolic expressions too soon

2009-09-14 Thread Matt Rissler
So I'm trying to get around the fact that plotting half of an ellipsoid with plot3d is nigh impossible, x,y=var('x,y') plot3d(sqrt(1-(x^2/9+y^2/4)),(x,-3,3),(y,-2,2)) but I stumbled across this problem in the process. Since the problem is that we can't evaluate at some points lets replace them.

[sage-support] expand, combine and rewrite with sage.

2009-09-14 Thread Francois Maltey
Hello, I don't find usual trigonometric transform in sage : expand (sin (2*x)) == 2*sin(x)*cos(x) combine (cos(a)^2) == 1/2 + cos(2*a)/2 rewrite (sin(a), exp) == (exp(i*a)-exp(-i*a)) / (2*i) I can use maxima("expand (sin(a+b))") or fricas ("...") calls but not the inner sage system. And use st

[sage-support] Re: Line Plots

2009-09-14 Thread William Stein
On Sun, Sep 13, 2009 at 9:05 PM, Eric Jackson wrote: > > Does sage have the capability of allowing the user to view x and y > coordinates (x,y) by moving his/her cursor along the line created in a > plot?  Matlab and Microsoft Excel have a feature, that allow the user > to view xy values as he/sh

[sage-support] Line Plots

2009-09-14 Thread Eric Jackson
Does sage have the capability of allowing the user to view x and y coordinates (x,y) by moving his/her cursor along the line created in a plot? Matlab and Microsoft Excel have a feature, that allow the user to view xy values as he/she moves their cursor along the line of a plot. In other words,