[sage-support] Re: Odd behaviour of parametric_plot

2008-02-16 Thread bill.p
On Feb 12, 10:07 am, bill purvis [EMAIL PROTECTED] wrote: I wanted to make a plot of x^3+y^3=1729 (the well-known taxicab problem). I'm sure there are better ways of acieving this but I opted for a naive approach: {{{ def sng(x): if x 0: return -1 return 1 def f(x): y3 =

[sage-support] Re: Odd behaviour of parametric_plot

2008-02-16 Thread mabshoff
Still no response to this problem, either Bill Generally speaking: Sage Days somewhere (IPAM in this case) tend to drop the amount of people that deal with problems on the mailing list before, during and after the work shop because people have to travel, get ready for the workshop and

[sage-support] Re: Odd behaviour of parametric_plot

2008-02-16 Thread David Joyner
I don't know how to fix it so that parametric_plot works. However, the following workaround at least gives you a plot: sage: a = RR(1729^(1/3)) sage: f1 = lambda x: RR(real((1729 - x^3)^(1/3))) sage: f2 = lambda x: RR(real(-(-1729 + x^3)^(1/3))) sage: L1 = [(x,f1(x)) for x in

[sage-support] Re: Odd behaviour of parametric_plot

2008-02-16 Thread Carl Witty
On Feb 12, 2:07 am, bill purvis [EMAIL PROTECTED] wrote: I wanted to make a plot of x^3+y^3=1729 (the well-known taxicab problem). I'm sure there are better ways of acieving this but I opted for a naive approach: {{{ def sng(x): if x 0: return -1 return 1 def f(x): y3 =

[sage-support] Re: Odd behaviour of parametric_plot

2008-02-16 Thread bill purvis
On Saturday 16 February 2008, Carl Witty wrote: On Feb 12, 2:07 am, bill purvis [EMAIL PROTECTED] wrote: I wanted to make a plot of x^3+y^3=1729 (the well-known taxicab problem). I'm sure there are better ways of acieving this but I opted for a naive approach: {{{ def sng(x): if