Parametric plots won't work for general algebraic curves.

But I'm also not sure how to implement the transformation into a circle. I'll look at the documentation for plots.

Fernando

On 3/1/2020 8:50 AM, David Joyner wrote:


On Sat, Feb 29, 2020 at 5:29 PM Fernando Gouvea <fqgou...@colby.edu <mailto:fqgou...@colby.edu>> wrote:

    Some years ago in a book review, David Roberts had the idea of
    plotting an algebraic curve using the transformation  (u,v) =
    (x,y)/(r^2  + x^2  + y^2 )^1/2 , which transforms the plane into a
    circle and makes it easy to visualize the projective completion of
    the curve.

    You can see some of his plots at
    
https://www.maa.org/press/maa-reviews/rational-algebraic-curves-a-computer-algebra-approach


These look like 2d parametric plots.
https://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html#sage.plot.plot.parametric_plot
To combine two (or more) par. plots on the same axis, just add the corresponding graphics objects.
There are examples on the pages linked to above.

    I’d love to do this kind of plot for my students. Can anyone offer
    help on how to do it with Sage? (Of course the dream scenario
    would be to add this option to the plot method for curves...)

    I’ve been using implicit_plot for most of my examples, which seems
    to be equivalent of using C.plot() when C is a curve.

    Thanks,

    Fernando





-- ==================================================================
    Fernando Q. Gouvea                             Editor, MAA Reviews
    Dept of Mathematics and Statistics http://www.colby.edu/~fqgouvea
    Colby College http://www.maa.org/press/maa-reviews
    Mayflower Hill 5836
    Waterville, ME 04901

    A training in mathematics is a prerequisite today for work in almost
    any scientific field, but even for those who are not going to become
    scientists, it is essential because, if it is only through speech that
    we can understand what freedom means, only through mathematics
    can we understand what necessity means.
      -- W. H. Auden


-- You received this message because you are subscribed to the Google
    Groups "sage-support" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to sage-support+unsubscr...@googlegroups.com
    <mailto:sage-support+unsubscr...@googlegroups.com>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/sage-support/CAPON7s8KPbT-cLo_4FHJN-WqoqHi82%3DmgS1HBAD8SJqDxqkFDg%40mail.gmail.com
    
<https://groups.google.com/d/msgid/sage-support/CAPON7s8KPbT-cLo_4FHJN-WqoqHi82%3DmgS1HBAD8SJqDxqkFDg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com <mailto:sage-support+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAEQuuAUukezRFvtNBmhb6VPfkT0AjvbbGE55%2BM7xj90ZhLk2Lw%40mail.gmail.com <https://groups.google.com/d/msgid/sage-support/CAEQuuAUukezRFvtNBmhb6VPfkT0AjvbbGE55%2BM7xj90ZhLk2Lw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
=============================================================
Fernando Q. Gouvea         http://www.colby.edu/~fqgouvea
Carter Professor of Mathematics
Dept. of Mathematics and Statistics
Colby College
5836 Mayflower Hill
Waterville, ME 04901

There is nothing mysterious, as some have tried to maintain, about the
applicability of mathematics. What we get by abstraction from
something can be returned.
  -- R. L. Wilder, Introduction to the Foundations of Mathematics.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/bed66ea0-71e7-5848-748a-1b0b5ee5c466%40colby.edu.

Reply via email to