[sage-support] Re: is it possible to show() a variable with "it's name = " in front of it

2008-10-06 Thread Samuel Gaehwiler
On Oct 7, 12:27 am, kkwweett <[EMAIL PROTECTED]> wrote: > 'Eval' can do that : > > def ashow(v): >   show("$"+v+"=%s$"%latex(eval(v))) > > b=2/3 > ashow('b') Thank you! That's it. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.

[sage-support] Re: notebook server with server_pool

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 8:37 PM, Dan Drake <[EMAIL PROTECTED]> wrote: > On Mon, 06 Oct 2008 at 03:41PM -0700, William Stein wrote: >> > Okay, I just tried using the server_pool option. I can ssh >> > [EMAIL PROTECTED] from [EMAIL PROTECTED] I can run the sage server >> > without the server_pool o

[sage-support] Re: notebook server with server_pool

2008-10-06 Thread Dan Drake
On Mon, 06 Oct 2008 at 03:41PM -0700, William Stein wrote: > > Okay, I just tried using the server_pool option. I can ssh > > [EMAIL PROTECTED] from [EMAIL PROTECTED] I can run the sage server > > without the server_pool option from the server account and successfully > > evaluate cells. However

[sage-support] Re: problem with plot3d

2008-10-06 Thread Justin C. Walker
On Oct 6, 2008, at 18:55 , Marshall Hampton wrote: > > This might be related to a recent update for java on 10.5 - ecanton, > do you know if you got that update? It came out within the last two > weeks I think. The download is dated 9/12, I think. I have installed it (10.5.5), and I can run

[sage-support] Re: problem with plot3d

2008-10-06 Thread Marshall Hampton
This might be related to a recent update for java on 10.5 - ecanton, do you know if you got that update? It came out within the last two weeks I think. -M. Hampton On Oct 6, 5:53 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > On Mon, Oct 6, 2008 at 4:33 PM, ecanton <[EMAIL PROTECTED]> wrote: >

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 10:21 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > William Stein wrote: >> 2008/10/6 Thierry Dumont <[EMAIL PROTECTED]>: >>> I would like to know if someone as used Sage with undergraduate >>> students. My question is mainly a question about the material which >>> would be

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread Ondrej Certik
On Mon, Oct 6, 2008 at 11:24 PM, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > Ondrej, > > Did you have to stop supporting Sage altogether or just the Sage Notebook? Not sure what you mean by supporting. I was running the sage notebook from Sage so that anyone can log into it, just like sagenb.

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread Timothy Clemans
Ondrej, Did you have to stop supporting Sage altogether or just the Sage Notebook? On Mon, Oct 6, 2008 at 5:10 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > On Mon, Oct 6, 2008 at 9:49 PM, Alex Clemesha <[EMAIL PROTECTED]> wrote: >> Hi, >> >>> >>> Note -- if the notebook servers all operated

[sage-support] Re: problem with plot3d

2008-10-06 Thread David Joyner
On Mon, Oct 6, 2008 at 4:33 PM, ecanton <[EMAIL PROTECTED]> wrote: > > It seems that the function plot3d isn't working. When trying to use > it, it pauses on a new line for a bit, as though it's producing the > graph, but then it gives me a new prompt. plot( works just fine. Is > there some packag

[sage-support] Re: notebook server with server_pool

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 3:30 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > William Stein wrote: >> On Mon, Oct 6, 2008 at 3:19 AM, Dan Drake <[EMAIL PROTECTED]> wrote: >>> As I mentioned in another thread, I'm working up to having a public Sage >>> server at my university. Reading through the note

[sage-support] problem with plot3d

2008-10-06 Thread ecanton
It seems that the function plot3d isn't working. When trying to use it, it pauses on a new line for a bit, as though it's producing the graph, but then it gives me a new prompt. plot( works just fine. Is there some package I'm missing? I'm using sage 3.1.2 on Mac OS X.5. --~--~-~--~~

[sage-support] no absoluate value in sqrt((something)^2)

2008-10-06 Thread [EMAIL PROTECTED]
Hello, running (sqrt(1+4*x^2/(1-x^2)^2)).radical_simplify() gives (1+x^2)/(1-x^2) but I expect absolute values, like (1+x^2)/abs(1-x^2) is this an error in Sage? Maxima has the same problem Thank you Robert Marik --~--~-~--~~~---~--~~ To post to this group

[sage-support] Re: is it possible to show() a variable with "it's name = " in front of it

2008-10-06 Thread kkwweett
>Or is there a way to access the content of a variable, when you only >have a string with its name? 'Eval' can do that : def ashow(v): show("$"+v+"=%s$"%latex(eval(v))) b=2/3 ashow('b') Hope that helps --~--~-~--~~~---~--~~ To post to this group, send email t

[sage-support] Re: notebook server with server_pool

2008-10-06 Thread Jason Grout
William Stein wrote: > On Mon, Oct 6, 2008 at 3:19 AM, Dan Drake <[EMAIL PROTECTED]> wrote: >> As I mentioned in another thread, I'm working up to having a public Sage >> server at my university. Reading through the notebook() documentation, I >> see: >> >> server_pool -- (default: None), if give

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread Ondrej Certik
On Mon, Oct 6, 2008 at 9:49 PM, Alex Clemesha <[EMAIL PROTECTED]> wrote: > Hi, > >> >> Note -- if the notebook servers all operated on the same >> data (via a central database or files on the filesystem or something), >> then one could have the best of both worlds... I guess. >> But I doubt I'm pu

[sage-support] Re: notebook server with server_pool

2008-10-06 Thread Jason Grout
William Stein wrote: > On Mon, Oct 6, 2008 at 3:19 AM, Dan Drake <[EMAIL PROTECTED]> wrote: >> As I mentioned in another thread, I'm working up to having a public Sage >> server at my university. Reading through the notebook() documentation, I >> see: >> >> server_pool -- (default: None), if give

[sage-support] Re: Possible to add Latex math equations to Sage plots?

2008-10-06 Thread Martin Albrecht
On Monday 06 October 2008, Robert Bradshaw wrote: > > Yes, there is no latex support for text in 3d plots, and > > in fact nothing planned either. I have no clue how it > > would even be possible. > > It would render a png and then use texture mapping. Texture mapping > would be useful for a lot

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread Alex Clemesha
Hi, > Note -- if the notebook servers all operated on the same > data (via a central database or files on the filesystem or something), > then one could have the best of both worlds... I guess. > But I doubt I'm putting another month of my life into the > Sage notebook anytime in the near future.

[sage-support] Re: is it possible to show() a variable with "it's name = " in front of it

2008-10-06 Thread Samuel Gaehwiler
Thank you all for your replies! I was overwhelmed by your fast and helpful replies! I may should have described my desired result in more detail: I don't wanna display/print out the line a = \frac{{2 q}}{3} but I would like to Sage display it, as if it was processed by latex (the look of a form

[sage-support] Re: How add axes labels and titles to Sage plots?

2008-10-06 Thread Jason Grout
William Stein wrote: > On Mon, Oct 6, 2008 at 1:26 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: >> As far as I know, the title function is not implemented in plot yet. >> It would also be very useful to have a legend function similar to the >> one in pylab. There has been a discussion of this on

[sage-support] Useful Python 2.5 docmentation view

2008-10-06 Thread Tim Lahey
I ran across this mindmap of Python 2.5 today: http://preview.tinyurl.com/45ltr3 (using tinyurl only to ensure it fits on one line) which I thought was a useful way of looking at things. I'm not sure if this was done automatically, or by hand, but something like it would be very useful for visua

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 10:11 AM, kcrisman <[EMAIL PROTECTED]> wrote: > > > > >> To emphasize again, I doubt it scales to more than 30 users all hammering >> the server at once. >> > > I can confirm this from our experience as well; on a more moderate > size server even 15-20 at once becomes very p

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread Robert Bradshaw
On Oct 6, 2008, at 10:21 AM, Jason Grout wrote: > William Stein wrote: >> 2008/10/6 Thierry Dumont <[EMAIL PROTECTED]>: >>> I would like to know if someone as used Sage with undergraduate >>> students. My question is mainly a question about the material which >>> would be necessary. >>> >>> We ar

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread Jason Grout
William Stein wrote: > 2008/10/6 Thierry Dumont <[EMAIL PROTECTED]>: >> I would like to know if someone as used Sage with undergraduate >> students. My question is mainly a question about the material which >> would be necessary. >> >> We are currently building a project (this means: asking for mo

[sage-support] Re: Possible to add Latex math equations to Sage plots?

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 4:37 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > On Mon, Oct 6, 2008 at 12:08 AM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> >> Is it possible to add Latex equations to Sage plots? > > > In 2d plots, yes, for example > > sage: P1 = plot(sin(x), (x,-pi,pi)) > sage:

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread kcrisman
> To emphasize again, I doubt it scales to more than 30 users all hammering > the server at once. > I can confirm this from our experience as well; on a more moderate size server even 15-20 at once becomes very problematic. - kcrisman --~--~-~--~~~---~--~~ To p

[sage-support] Re: Possible to add Latex math equations to Sage plots?

2008-10-06 Thread Robert Bradshaw
On Oct 6, 2008, at 9:37 AM, William Stein wrote: > On Mon, Oct 6, 2008 at 4:37 AM, David Joyner <[EMAIL PROTECTED]> > wrote: >> >> On Mon, Oct 6, 2008 at 12:08 AM, [EMAIL PROTECTED] >> <[EMAIL PROTECTED]> wrote: >>> >>> Is it possible to add Latex equations to Sage plots? >> >> >> In 2d plots,

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread William Stein
2008/10/6 Thierry Dumont <[EMAIL PROTECTED]>: > > I would like to know if someone as used Sage with undergraduate > students. My question is mainly a question about the material which > would be necessary. > > We are currently building a project (this means: asking for money, doing > a lot a burea

[sage-support] Re: How add axes labels and titles to Sage plots?

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 1:26 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > As far as I know, the title function is not implemented in plot yet. > It would also be very useful to have a legend function similar to the > one in pylab. There has been a discussion of this on the support list > alre

[sage-support] Re: notebook server with server_pool

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 3:19 AM, Dan Drake <[EMAIL PROTECTED]> wrote: > As I mentioned in another thread, I'm working up to having a public Sage > server at my university. Reading through the notebook() documentation, I > see: > > server_pool -- (default: None), if given, should be a list like >

[sage-support] Re: ntl dylib

2008-10-06 Thread William Stein
On Mon, Oct 6, 2008 at 7:15 AM, Guilhem_Bourrie <[EMAIL PROTECTED]> wrote: > > hello, > I am a new member of this group, > > I downloaded the source code and tried to compile it. > My computer is a Mac PowerPC G5 core 2 duo, the operating system is > MacOSX 10.3.9. Unfortunately, building Sage on

[sage-support] ntl dylib

2008-10-06 Thread Guilhem_Bourrie
hello, I am a new member of this group, I downloaded the source code and tried to compile it. My computer is a Mac PowerPC G5 core 2 duo, the operating system is MacOSX 10.3.9. I obtained the following messages: 1. "Found Fink in your path etc. Either: (1) rename /opt/local and /sw, or (2) chan

[sage-support] notebook server with server_pool

2008-10-06 Thread Dan Drake
As I mentioned in another thread, I'm working up to having a public Sage server at my university. Reading through the notebook() documentation, I see: server_pool -- (default: None), if given, should be a list like ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]'], where

[sage-support] Re: URGENT - Problem with installing sage on suse10.1

2008-10-06 Thread Ines Abdeljaoued-TEJ
After installing the last version of gcc-4.2.4 (I verified it with gcc -v), and re-compiling sage-3.1.2, fellows the error's message : import error /usr/lib/libstdc++.SO.6 version GLIBCXX-3.4.9 not found Thanks for help, Ines. Le Saturday 04 October 2008 00:29:09 William Stein, vous avez écri

[sage-support] Physics package

2008-10-06 Thread Georg M.
Dear Radhakrishna, I'm taking the liberty to forward your message to Sage Support, a discussion group that deals with questions like these. I don't think that there are many people working on such functionality right now, but it might be supported through one of its packages. With kindest regard

[sage-support] Re: Possible to add Latex math equations to Sage plots?

2008-10-06 Thread David Joyner
On Mon, Oct 6, 2008 at 12:08 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is it possible to add Latex equations to Sage plots? In 2d plots, yes, for example sage: P1 = plot(sin(x), (x,-pi,pi)) sage: P2 = text("$y=\sin(x),\ -\pi\leq x\leq \pi$", (1.5,4)) sage: show(P1+P2) However, I th

[sage-support] Re: How add axes labels and titles to Sage plots?

2008-10-06 Thread Stan Schymanski
As far as I know, the title function is not implemented in plot yet. It would also be very useful to have a legend function similar to the one in pylab. There has been a discussion of this on the support list already, and I concluded that someone might be working on the plot functionalities alread

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-06 Thread Dan Drake
On Mon, 06 Oct 2008 at 09:16AM +0200, Thierry Dumont wrote: > I would like to know if someone as used Sage with undergraduate > students. My question is mainly a question about the material which > would be necessary. > > We are currently building a project (this means: asking for money, > doing a

[sage-support] Using Sage with a large number of undergraduate students.

2008-10-06 Thread Thierry Dumont
I would like to know if someone as used Sage with undergraduate students. My question is mainly a question about the material which would be necessary. We are currently building a project (this means: asking for money, doing a lot a bureaucracy and so on) on Sage in my University: the idea is to