ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 11 Nov 2016 13:29:56 -0600transformation to lines and circleshttps://ask.sagemath.org/question/35516/transformation-to-lines-and-circles/I'd like to take a circle and apply a transformation to it (such as a reflection or a translation).
For instance, if T1 is translation 1 unit right and
c1 = circle((0,0),1),
I'd like to be able to plot T1(c1) (the image of c1 under T1, which is the circle with new center (1,0)).
How can I do this? Thu, 10 Nov 2016 21:34:40 -0600https://ask.sagemath.org/question/35516/transformation-to-lines-and-circles/Answer by slelievre for <p>I'd like to take a circle and apply a transformation to it (such as a reflection or a translation).
For instance, if T1 is translation 1 unit right and
c1 = circle((0,0),1),
I'd like to be able to plot T1(c1) (the image of c1 under T1, which is the circle with new center (1,0)).
How can I do this? </p>
https://ask.sagemath.org/question/35516/transformation-to-lines-and-circles/?answer=35517#post-id-35517Currently this is only implemented for 3d graphics.
See this discussion and the example there:
[sage-support: 2D translate, rotate](https://groups.google.com/d/topic/sage-support/JuJcHgkZalo/discussion).
So just add a third coordinate to your circle...
Note that [Sage trac ticket #16484 (Transformations for 2D plots)](https://trac.sagemath.org/ticket/16484)
is precisely about implementing what you are asking, but there has been no work on this so far.Thu, 10 Nov 2016 23:27:31 -0600https://ask.sagemath.org/question/35516/transformation-to-lines-and-circles/?answer=35517#post-id-35517Comment by Daniel L for <p>Currently this is only implemented for 3d graphics.</p>
<p>See this discussion and the example there:
<a href="https://groups.google.com/d/topic/sage-support/JuJcHgkZalo/discussion">sage-support: 2D translate, rotate</a>.</p>
<p>So just add a third coordinate to your circle...</p>
<p>Note that <a href="https://trac.sagemath.org/ticket/16484">Sage trac ticket #16484 (Transformations for 2D plots)</a>
is precisely about implementing what you are asking, but there has been no work on this so far.</p>
https://ask.sagemath.org/question/35516/transformation-to-lines-and-circles/?comment=35529#post-id-35529Thanks. While we're on the topic of geometric transformations, is there a way to do inversion in a given circle?Fri, 11 Nov 2016 13:29:56 -0600https://ask.sagemath.org/question/35516/transformation-to-lines-and-circles/?comment=35529#post-id-35529