Re: [sage-support] Saving pictures of 3d plots

2010-01-21 Thread William Stein
On Thu, Jan 21, 2010 at 10:47 PM, Oscar Gerardo Lazo Arjona wrote: > I wish to improve animate so that it supports 3d plots > (I want to make an animation of a moving 3d curve). > I've been told that animate does this by joining several > png files. This bug was fixed at the last Sage Days. A fi

[sage-support] Saving pictures of 3d plots

2010-01-21 Thread Oscar Gerardo Lazo Arjona
I wish to improve animate so that it supports 3d plots (I want to make an animation of a moving 3d curve). I've been told that animate does this by joining several png files. However, I've found no practical way to save pictures of 3d plots. I want let's say i have: sage: v=(sin(z+t),0,t) sage:

Re: [sage-support] LaTeX text

2010-01-21 Thread Erik Lane
On Thu, Jan 21, 2010 at 7:03 PM, Thomas Scofield wrote: > > I am creating notebooks to publish for my students to use in a spring > course. Perhaps not surprisingly, I am interspersing commands, output of > those commands, and explanatory text. The only way I know to create the > latter is to sh

[sage-support] LaTeX text

2010-01-21 Thread Thomas Scofield
I am creating notebooks to publish for my students to use in a spring course. Perhaps not surprisingly, I am interspersing commands, output of those commands, and explanatory text. The only way I know to create the latter is to shift-click to open a text cell. I discovered a few days a

[sage-support] Re: Substitution

2010-01-21 Thread Jason Grout
Stochastix wrote: I have the following problem : I have two nested functions a=lambda x: 2*x b=lambda x: a(x)^2 Everything goes well as long as I want to compute the derivative of b but how can I evaluate this derivative at x=2. I tried g=lambda x: diff(b(x),x) g(x) returns 8*x as expected bu

Re: [sage-support] NIST elliptic curves in the Cremona database?

2010-01-21 Thread Alex Ghitza
On Thu, 21 Jan 2010 16:36:47 -0800, William Stein wrote: > Aren't those curves owned by some company though, and one can't use > them without paying license fees? I can't believe I just wrote that > sentence. > There's some info at http://en.wikipedia.org/wiki/ECC_patents It doesn't seem to

Re: [sage-support] NIST elliptic curves in the Cremona database?

2010-01-21 Thread William Stein
On Thu, Jan 21, 2010 at 4:28 PM, Alex Ghitza wrote: > Hi Alasdair, > > My initial reaction is to point out that the NIST elliptic curves are > over finite fields, while the Cremona database contains elliptic curves > over the rational numbers. > > I don't see why we couldn't have a database with t

Re: [sage-support] NIST elliptic curves in the Cremona database?

2010-01-21 Thread Alex Ghitza
Hi Alasdair, My initial reaction is to point out that the NIST elliptic curves are over finite fields, while the Cremona database contains elliptic curves over the rational numbers. I don't see why we couldn't have a database with the NIST recommended elliptic curves available in Sage, though.

[sage-support] NIST elliptic curves in the Cremona database?

2010-01-21 Thread Alasdair
I'm trying to find out if the NIST recommended elliptic curves (appendix to http://csrc.nist.gov/publications/fips/fips186-3/fips_186-3.pdf) are in the Cremona database. I can't seem to find anything online; does anybody here know? Thanks, Alasdair -- To post to this group, send email to sage-s

[sage-support] Changing generators of the unit group of a number field

2010-01-21 Thread jtyard
Is there a way to change the generators used in the internal representation of the unit group of a number field? I am currently doing this by hand in an ad-hoc manner and it is very tedious, not to mention prone to mistakes. To be concrete, consider the following: sage: CyclotomicField(5).unit_g

[sage-support] Re: restarting a nb server

2010-01-21 Thread John Cremona
On Jan 21, 8:49 pm, William Stein wrote: > On Thu, Jan 21, 2010 at 12:14 PM, John Cremona wrote: > > Advice needed on restarting a notebook server (now that I have > > successfully built 4.3.1). > > > I guess that the admin for sagenb.org must do this all the time, so > > all this must surely b

Re: [sage-support] restarting a nb server

2010-01-21 Thread William Stein
On Thu, Jan 21, 2010 at 12:14 PM, John Cremona wrote: > Advice needed on restarting a notebook server (now that I have > successfully built 4.3.1). > > I guess that the admin for sagenb.org must do this all the time, so > all this must surely be easy, but I want to double check. Well there were h

[sage-support] Re: f2py on mac

2010-01-21 Thread gsw
Cool. I have to build the OS X 10.4 versions of Sage 4.3.1 right now, but will have a look at that one. Thanks! Cheers, Georg -- 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 o

[sage-support] restarting a nb server

2010-01-21 Thread John Cremona
Advice needed on restarting a notebook server (now that I have successfully built 4.3.1). I guess that the admin for sagenb.org must do this all the time, so all this must surely be easy, but I want to double check. There are several users with accounts -- how can I tell which are logged in? I

Re: [sage-support] Defaults for plots

2010-01-21 Thread William Stein
On Thu, Jan 21, 2010 at 8:24 AM, Mike Witt wrote: > On 01/21/2010 08:16:22 AM, William Stein wrote: >> >> On Thu, Jan 21, 2010 at 7:50 AM, Mike Witt wrote: >> > On 01/21/2010 07:35:13 AM, William Stein wrote: >> >> >> >> On Thu, Jan 21, 2010 at 7:06 AM, Mike Witt wrote: >> >> > Is there a way to

Re: [sage-support] TinyMCE boxes small/unusable, Firefox, Vista

2010-01-21 Thread William Stein
I have cc'd this email to http://groups.google.com/group/sage-notebook On Thu, Jan 21, 2010 at 6:00 AM, Nathan Carter wrote: > > Dear Sage users, > > I'm using Sage in a class this semester, and all my students are > running Vista.  I've instructed them to get sagenb.org accounts and to > use Fir

Re: [sage-support] Defaults for plots

2010-01-21 Thread Mike Witt
On 01/21/2010 08:16:22 AM, William Stein wrote: On Thu, Jan 21, 2010 at 7:50 AM, Mike Witt wrote: > On 01/21/2010 07:35:13 AM, William Stein wrote: >> >> On Thu, Jan 21, 2010 at 7:06 AM, Mike Witt wrote: >> > Is there a way to specify default parameters for graphics? One specific >> > examp

Re: [sage-support] Defaults for plots

2010-01-21 Thread William Stein
On Thu, Jan 21, 2010 at 7:50 AM, Mike Witt wrote: > On 01/21/2010 07:35:13 AM, William Stein wrote: >> >> On Thu, Jan 21, 2010 at 7:06 AM, Mike Witt wrote: >> > Is there a way to specify default parameters for graphics? One specific >> > example, is that I would like to specify that the default c

Re: [sage-support] Defaults for plots

2010-01-21 Thread Mike Witt
On 01/21/2010 07:35:13 AM, William Stein wrote: On Thu, Jan 21, 2010 at 7:06 AM, Mike Witt wrote: > Is there a way to specify default parameters for graphics? One specific > example, is that I would like to specify that the default color for > function plots, lines, points, etc be 'black' ins

Re: [sage-support] parametric_plot3d() not producing surfaces as desired

2010-01-21 Thread William Stein
On Thu, Jan 21, 2010 at 6:39 AM, Thomas Scofield wrote: > > I do not recall having trouble with parametric_plot3d() before today.  I'm > still not having trouble except when I try using it to plot a surface. > I am running Sage through a browser (Firefox) at the website www.sagenb.org, > so I pres

Re: [sage-support] Defaults for plots

2010-01-21 Thread William Stein
On Thu, Jan 21, 2010 at 7:06 AM, Mike Witt wrote: > Is there a way to specify default parameters for graphics? One specific > example, is that I would like to specify that the default color for > function plots, lines, points, etc be 'black' instead of 'blue'. > sage: plot.options {'fillalpha': 0

[sage-support] Defaults for plots

2010-01-21 Thread Mike Witt
Is there a way to specify default parameters for graphics? One specific example, is that I would like to specify that the default color for function plots, lines, points, etc be 'black' instead of 'blue'. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from t

[sage-support] parametric_plot3d() not producing surfaces as desired

2010-01-21 Thread Thomas Scofield
I do not recall having trouble with parametric_plot3d() before today. I'm still not having trouble except when I try using it to plot a surface. I am running Sage through a browser (Firefox) at the website www.sagenb.org , so I presume it is the latest in programming. A simple command lik

[sage-support] TinyMCE boxes small/unusable, Firefox, Vista

2010-01-21 Thread Nathan Carter
Dear Sage users, I'm using Sage in a class this semester, and all my students are running Vista. I've instructed them to get sagenb.org accounts and to use Firefox. All going well so far, until they try to shift-click above a cell to get a TinyMCE editor. Many of them report the following prob

[sage-support] Re: Substitution

2010-01-21 Thread Jason Bandlow
Hi, I think what Minh was trying to say is that these lines: Stochastix wrote: > sage: a=lambda x: alpha*x-mu1+mu2 > sage: f=lambda x: (a(x)*b-c+sqrt((a(x)*b-c)^2+4.0*a(x)*b*r*mu1))/(2*a > (x)*mu1) > sage: g=lambda x: (r+l-mu1*f(x))/mu2 > sage: prev=lambda x: f(x)/(f(x)+g(x)) > sage: k=lambda x:

[sage-support] Re: Substitution

2010-01-21 Thread Alasdair
This simple minded approach seems to work for me: sage: a(x)=2*x sage: b(x)=a(x)^2 sage: g(x)=diff(b(x),x) sage: g(2) 16 -Alasdair On Jan 21, 2:14 am, Stochastix wrote: > I have the following problem : I have two nested functions > > a=lambda x: 2*x > b=lambda x: a(x)^2 > > Everything goes w

[sage-support] Re: Substitution

2010-01-21 Thread Stochastix
Thanks. Unfortunately, for my particular example, it didn't work as is -- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI, and license() for information.| --