On Wed, Jan 28, 2009 at 11:37 AM, David Hansen <da...@mollerhansen.com> wrote: > I've attached the code in a .txt file.
Change the first few lines to this: curve = E.plot(rgbcolor = (0,0,1),xmin=25,xmax=25,plot_points=300) R = P + Q Rneg = -R l1 = line_from_curve_points(E,P,Q) l2 = line_from_curve_points(E,R,Rneg,style='--') p1 = plot(P,rgbcolor=(1,0,0),pointsize=40) Then it works. There are two issues: I changed plot(E, ...) to E.plot(...) because of a major bug in plot caused by some recent refactoring, which I've reported here (note that I also got bitten by this during my Sage Days 12 talk!): http://trac.sagemath.org/sage_trac/ticket/5121 Second, I had to change point(P, ...) to plot(P, ...) since point now tries to see if there are 3 coordinates (there are since P is a point on elliptic curve) and somehow gets confused. This bug is http://trac.sagemath.org/sage_trac/ticket/5122 William --~--~---------~--~----~------------~-------~--~----~ 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://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---