[sage-support] Re: problem of using surf in SAGE online server 2
On Sep 20, 11:37 am, pong [EMAIL PROTECTED] wrote: Hi Pong, I tried the example sage: s = singular.eval sage: s('LIB surf.lib;') ... sage: s(ring rr0 = 0,(x1,x2),dp;) ... sage: s(ideal I = x1^3 - x2^2;) '' sage: s(plot(I);) inhttp://www.dms.umontreal.ca/~math/logiciels/Sage/const/node18.html#ch:AG Looks like surf has been loaded and everything is fine but at the end I got: Traceback (click to the left for traceback) ... skipping text from `;` error at token `)` Any help? IIRC surf does depend on some Java binary code shipped with Singular and we have removed it. I am also pretty sure surf is broken when used via the notebook server. Cheers, Michael --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problem of using surf in SAGE online server 2
Thanks for the reply. If I want plot an algebraic curve using SAGE, what should I do then? Any suggestion? Pong On Sep 20, 1:58 pm, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Sep 20, 11:37 am, pong [EMAIL PROTECTED] wrote: Hi Pong, I tried the example sage: s = singular.eval sage: s('LIB surf.lib;') ... sage: s(ring rr0 = 0,(x1,x2),dp;) ... sage: s(ideal I = x1^3 - x2^2;) '' sage: s(plot(I);) inhttp://www.dms.umontreal.ca/~math/logiciels/Sage/const/node18.html#ch:AG Looks like surf has been loaded and everything is fine but at the end I got: Traceback (click to the left for traceback) ... skipping text from `;` error at token `)` Any help? IIRC surf does depend on some Java binary code shipped with Singular and we have removed it. I am also pretty sure surf is broken when used via the notebook server. Cheers, Michael --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problem of using surf in SAGE online server 2
Hello, On Sat, Sep 20, 2008 at 3:47 PM, pong [EMAIL PROTECTED] wrote: Thanks for the reply. If I want plot an algebraic curve using SAGE, what should I do then? Any suggestion? For the above example, I would do something like: sage: var('x1,x2') (x1, x2) sage: implicit_plot(x1^3 - x2^2,(x1,-2,2), (x2,-2,2), plot_points=200) --Mike --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problem of using surf in SAGE online server 2
Hi Mike, It works for my case. Thanks! Pong On Sep 20, 4:02 pm, Mike Hansen [EMAIL PROTECTED] wrote: Hello, On Sat, Sep 20, 2008 at 3:47 PM, pong [EMAIL PROTECTED] wrote: Thanks for the reply. If I want plot an algebraic curve using SAGE, what should I do then? Any suggestion? For the above example, I would do something like: sage: var('x1,x2') (x1, x2) sage: implicit_plot(x1^3 - x2^2,(x1,-2,2), (x2,-2,2), plot_points=200) --Mike --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---