[sage-support] integrating indicator functions

2011-10-27 Thread Tom Boothby
I'd like to integrate a symbolically defined indicator function: W(x,y) = t < abs(x-y) < 1-t though it seems our symbolic objects don't work with chained inequalities, so I'd be happy with W(x,y) = (t < abs(x-y)) * (abs(x-y) < 1-t) Even the following doesn't work: sage: x,y,t = var('x,y,t') sa

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread leif
On 28 Okt., 03:43, Eric Kangas wrote: > still new to sage noticed that most plots had that listed to show the > intervals between the range. Thanks for the info. See also the Sage versions of Python's range() and xrange(): srange() and xsrange(). E.g. sage: srange(1,10,2) [1, 3, 5, 7, 9] sage:

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread Eric Kangas
still new to sage noticed that most plots had that listed to show the intervals between the range. Thanks for the info. On Oct 27, 6:39 pm, leif wrote: > On 28 Okt., 01:51, Eric Kangas wrote: > > > plot([derivative((f(x), a) for a in [0,1,..3]], (x,0,2*pi), color = ()) > > Just curious: > > Any

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread leif
On 28 Okt., 01:51, Eric Kangas wrote: > plot([derivative((f(x), a) for a in [0,1,..3]], (x,0,2*pi), color = ()) Just curious: Any reason to use [0,1,..3] instead of just [0..3] or even the pure Python syntax: range(4) ? -leif -- To post to this group, send email to sage-support@googlegroups.

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread Eric Kangas
thanks it works On Oct 27, 6:29 pm, Jason Grout wrote: > On 10/27/11 8:25 PM, Eric Kangas wrote: > > > > > Well I should be more correct in what I am saying each function is the > > derivative of the one function. I tried your program but I get this > > error. > > > Code: > > x = var('x') > > f =

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread Jason Grout
On 10/27/11 8:25 PM, Eric Kangas wrote: Well I should be more correct in what I am saying each function is the derivative of the one function. I tried your program but I get this error. Code: x = var('x') f = (sin(x))**3+(sin(x))**2+sin(x)+1 colors = rainbow(len([0,1,..3])) sum(plot(derivative((

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread Eric Kangas
Well I should be more correct in what I am saying each function is the derivative of the one function. I tried your program but I get this error. Code: x = var('x') f = (sin(x))**3+(sin(x))**2+sin(x)+1 colors = rainbow(len([0,1,..3])) sum(plot(derivative((f, a) , (x,0,2*pi), color = colors[i],labe

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread Jason Grout
On 10/27/11 6:51 PM, Eric Kangas wrote: Hi, I am working on a standard plot function for multiple plots. I would like to have each plot in a different color to distinguish each function, and also able to show a legend with the color, and function. Here is what I have right now: plot([derivativ

[sage-support] Issues with assigning color values to multiple plots.

2011-10-27 Thread Eric Kangas
Hi, I am working on a standard plot function for multiple plots. I would like to have each plot in a different color to distinguish each function, and also able to show a legend with the color, and function. Here is what I have right now: plot([derivative((f(x), a) for a in [0,1,..3]], (x,0,2*pi

[sage-support] Re: sagenb issues

2011-10-27 Thread leif
On 27 Okt., 19:12, Volker Braun wrote: > On Thursday, October 27, 2011 11:01:19 AM UTC-4, leif wrote: > > Setting MAKE to "make -jN" when (re-)building Sage doesn't limit the > > *total* number of build jobs to N; > > It does limit the total number of build jobs within the current make. Provided

[sage-support] Re: sagenb issues

2011-10-27 Thread kcrisman
> That's probably because there are over 500 simultaneous open worksheets > right now.   I've reset the servers but it will probably get heavily loaded > again soon enough.   Obviously we need to start planning for the next level > in scalability... I guess that's a good problem to have... I wond

[sage-support] Help with programming symbolic expressions!

2011-10-27 Thread Kjetil brinchmann Halvorsen
Hola! I experimented almost a complete day with the seemingly simple problem, I want to program a simple function, like: f(u,v)=\cases{ 2, if u>=v, 0, else.} and similar functions. As I want tom do calculus, I need symbolic expressions, not Python functions. I tries using

[sage-support] Re: sagenb issues

2011-10-27 Thread Jason Grout
On 10/27/11 12:56 PM, William Stein wrote: That's probably because there are over 500 simultaneous open worksheets right now. I've reset the servers but it will probably get heavily loaded again soon enough. Obviously we need to start planning for the next level in scalability... I wonder

Re: [sage-support] sagenb issues

2011-10-27 Thread mark florisson
On 27 October 2011 18:56, William Stein wrote: > > > On Thursday, October 27, 2011, Mark Florisson > wrote: >> >> >> On Oct 26, 4:47 pm, William Stein wrote: >>> On Wed, Oct 26, 2011 at 8:44 AM, MichTex wrote: >>> > I have been using sagenb without difficulty now for several days. I've >>> > be

Re: [sage-support] sagenb issues

2011-10-27 Thread William Stein
On Thursday, October 27, 2011, Mark Florisson wrote: > > > On Oct 26, 4:47 pm, William Stein wrote: >> On Wed, Oct 26, 2011 at 8:44 AM, MichTex wrote: >> > I have been using sagenb without difficulty now for several days. I've >> > been using it again this morning, but just now I started getting

[sage-support] Re: sagenb issues

2011-10-27 Thread Mark Florisson
On Oct 26, 4:47 pm, William Stein wrote: > On Wed, Oct 26, 2011 at 8:44 AM, MichTex wrote: > > I have been using sagenb without difficulty now for several days. I've > > been using it again this morning, but just now I started getting the > > 'could not connect towww.sagenb.org'message when I t

[sage-support] Re: sagenb issues

2011-10-27 Thread Volker Braun
On Thursday, October 27, 2011 11:01:19 AM UTC-4, leif wrote: > > On 26 Okt., 17:47, William Stein wrote: > Setting MAKE to "make -jN" when (re-)building Sage doesn't limit the > *total* number of build jobs to N; It does limit the total number of build jobs within the current make. Of course

[sage-support] Re: sagenb issues

2011-10-27 Thread leif
On 26 Okt., 17:47, William Stein wrote: > Of possible relevance is that the machine that sagenb is running on is > heavily loaded right now, due to me upgrading the system-wide Sage > install on that machine, and building in parallel. FWIW, slightly off-topic: Setting MAKE to "make -jN" when (re

Re: [sage-support] Re: Mixing tab and spaces on the LiveCD

2011-10-27 Thread Laurent
then you could "remaster" the live CD image (maybe make some additional changes like a customized default wallpaper or even include some example worksheets) before you distribute it. I made a guide how to do this here: http://boxen.math.washington.edu/home/emil/doc/html/en/HOWTO-Advanced_Setup.