A
A
avion2021-06-11 10:24:32
Python
avion, 2021-06-11 10:24:32

Polar plot with pyplot python complex numbers?

How to use polar() with functions containing the imaginary part of complex numbers?

An example of a regular function:
60c30ff31c383076968746.png
Result:
60c30f61e84fe276950267.png

Well, how to use polar with a function like this?
60c30fa79f315949175684.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
U235U235, 2021-06-11
@U235U235

You have two variables in your equation, not just one, theta and phi. Here we need rather cylindrical coordinates. Or isolines. In fact, it will be a set of spirals along the phi axis with a radius equal to factors up to the exponent (if theta is a parameter).
The formula can be shortened by using 0.5*sin(2x)=sin(x)*cos(x)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question