[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jason Grout
Robert Bradshaw wrote: >> >> * predefining a bunch of colors in the global namespace (maybe just >> what >> is available in the current strings?) > > I like all your comments but this one--the global namespace is huge > enough as it is. Also, colors.* gives nice tab completion, etc. I > co

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Robert Bradshaw
On Mar 24, 2009, at 11:03 AM, Jason Grout wrote: > William Stein wrote: >> On Tue, Mar 24, 2009 at 9:27 AM, Jason Grout >> wrote: >>> Jose Guzman wrote: kcrisman wrote: >> In looking at your code, I had an idea about specifying >> colors. Why >> don't we have some default col

[sage-support] Re: Magma Problem

2009-03-24 Thread William Stein
On Tue, Mar 24, 2009 at 7:05 AM, Santanu Sarkar wrote: > My operating system is Linux Ubuntu 8.04 on a computer with Dual CORE > Intel(R). > if you start sage and do > >  sage: !magma  then output is > sh: magma: not found Fix this. There's no way the Sage/magma interface can work until you set

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread William Stein
On Tue, Mar 24, 2009 at 11:03 AM, Jason Grout wrote: > > William Stein wrote: >> On Tue, Mar 24, 2009 at 9:27 AM, Jason Grout >> wrote: >>> Jose Guzman wrote: kcrisman wrote: >> In looking at your code, I had an idea about specifying colors.  Why >> don't we have some default color

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jason Grout
William Stein wrote: > On Tue, Mar 24, 2009 at 9:27 AM, Jason Grout > wrote: >> Jose Guzman wrote: >>> kcrisman wrote: > In looking at your code, I had an idea about specifying colors. Why > don't we have some default color objects defined in Sage, like red, > blue, yellow, green, et

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread William Stein
On Tue, Mar 24, 2009 at 9:27 AM, Jason Grout wrote: > > Jose Guzman wrote: >> kcrisman wrote: >>> In looking at your code, I had an idea about specifying colors.  Why don't we have some default color objects defined in Sage, like red, blue, yellow, green, etc.  Methods could includ

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jason Grout
Jose Guzman wrote: > kcrisman wrote: >> >>> In looking at your code, I had an idea about specifying colors. Why >>> don't we have some default color objects defined in Sage, like red, >>> blue, yellow, green, etc. Methods could include .darker(), .lighter(), >>> etc. So you could specify a p

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jose Guzman
kcrisman wrote: > > >> In looking at your code, I had an idea about specifying colors. Why >> don't we have some default color objects defined in Sage, like red, >> blue, yellow, green, etc. Methods could include .darker(), .lighter(), >> etc. So you could specify a plot as: >> >> plot(x^2,

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread kcrisman
> In looking at your code, I had an idea about specifying colors.  Why > don't we have some default color objects defined in Sage, like red, > blue, yellow, green, etc.  Methods could include .darker(), .lighter(), > etc.  So you could specify a plot as: > > plot(x^2, (x,0,1), color=red) > plot(

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jose Guzman
Jason Grout wrote: > Jose Guzman wrote: > > >> Yes it works! for some strange reason it did not work in my old sheet. I >> though to plot one should use a combination of plot() and show() >> commands. Actually, I created a small tutorial for private use to learn >> more about sage commands t

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jason Grout
Jose Guzman wrote: > Yes it works! for some strange reason it did not work in my old sheet. I > though to plot one should use a combination of plot() and show() > commands. Actually, I created a small tutorial for private use to learn > more about sage commands to plot, which talks about the u

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jason Grout
Jose Guzman wrote: > Yes it works! for some strange reason it did not work in my old sheet. I > though to plot one should use a combination of plot() and show() > commands. Actually, I created a small tutorial for private use to learn > more about sage commands to plot, which talks about the u

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jose Guzman
Stan Schymanski wrote: > The following displays a plot in my notebook (Sage3.4) if I put it all > in the same cell: > > sage: var('t'); # symbolic variable > sage: var('g'); # symbolic variable > sage: f(t) = g*(t**2-1)/(2*(t-1)) # try to simplify this function later... > sage: plot(f.subs(g=9.8

[sage-support] Re: Magma Problem

2009-03-24 Thread Santanu Sarkar
My operating system is Linux Ubuntu 8.04 on a computer with Dual CORE Intel(R). if you start sage and do sage: !magma then output is sh: magma: not found On Sat, Mar 21, 2009 at 2:11 AM, William Stein wrote: > > On Fri, Mar 20, 2009 at 7:48 AM, Santanu Sarkar > wrote: > > I have installed bo

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Stan Schymanski
The following displays a plot in my notebook (Sage3.4) if I put it all in the same cell: sage: var('t'); # symbolic variable sage: var('g'); # symbolic variable sage: f(t) = g*(t**2-1)/(2*(t-1)) # try to simplify this function later... sage: plot(f.subs(g=9.81), 0, 10) Does this not work for y

[sage-support] Re: "maximum recursion depht exceded"

2009-03-24 Thread christophe van der putten
Thank you for your help, i will test that. --~--~-~--~~~---~--~~ 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 this group at http:

[sage-support] Re: new cell in worksheet

2009-03-24 Thread Stan Schymanski
Hi Jason, Thanks a lot for that! Your proposal sounds good. Pity it hasn't been implemented yet, but perhaps the tickets you submitted will help. I'll contribute my thoughts when I have an account. Stan On Mar 23, 4:01 pm, Jason Grout wrote: > Stan Schymanski wrote: > > Thanks for your feedbac

[sage-support] Re: Problem plotting a function with plot()

2009-03-24 Thread Jose Guzman
> > By the way, if you type > >sage: plot(f.subs(g=9.81), 0, 10) > > then the plot will be displayed -- you don't need to save the plot and > then 'show' it. > > > I tried this and it works only with the console. If you use the notebook you have to use the show() command. Anyway, thank yo

[sage-support] Re: new cell in worksheet

2009-03-24 Thread Jose Guzman
William Stein wrote: > On Mon, Mar 23, 2009 at 11:07 AM, Jose Guzman wrote: > >> Stan Schymanski wrote: >> >>> In this context, I'm having trouble inserting a calculation cell before >>> a html cell or between two html cells in Sage 3.4. The Alt-Enter or >>> Ctrl-Enter methods don't not w