[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-24 Thread Kai
thanks, that did it for me... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-22 Thread William Stein
On Tue, Apr 22, 2008 at 7:59 AM, Kai <[EMAIL PROTECTED]> wrote: > > Ok, I forgot to mention that i'd like to plot the real and imaginary > parts or the absolute value of the function. With your help i got this > far: > > > sage: E = pari(['1', 'I']) > > sage: f = lambda a,b: E.ellwp(a+b*I) >

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-22 Thread Kai
Ok, I forgot to mention that i'd like to plot the real and imaginary parts or the absolute value of the function. With your help i got this far: sage: E = pari(['1', 'I']) sage: f = lambda a,b: E.ellwp(a+b*I) sage: g= lambda a,b: real(E.ellwp(a+b*I)) sage: P = plot3d(g,(0.1,0.9),(0.1,0.9), adapti

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-22 Thread David Joyner
I'm not sure what 3d plot you want. However, if I read the documentation at the link you provided correctly then sage: E = pari(['1', 'I']) sage: E.ellwp(1+I) -1/2*I says p(1+i)=-i/2 for the elliptic curve associated to Z+iZ. Maybe you want to plot the real and imaginary parts of sage: f = lamb