> How can we plot implicit polar equations like r^2=5-4cos(theta) in 
> SageMath?
>

Hmm, that is a good question.  We certainly support implicit plotting and 
polar plotting, but it doesn't seem that we do together.  The way that 
polar plotting is supported is basically that the data is switched to 
[y*cos(x),y*sin(x)] before actually rendering.

Now, you can do something like this:

var('x,y')
r = sqrt(x^2+y^2)
theta = arctan2(y,x)
implicit_plot(r^2==5-4*cos(theta),(x,-4,4),(y,-4,4),aspect_ratio=1)

https://sagecell.sagemath.org/?q=mvmspq

But obviously that is not ideal. 

-- 
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/cc8263ff-1d9c-4451-95f6-ca9ccc0a6194o%40googlegroups.com.

Reply via email to