```python
%pylab inline
```

    Populating the interactive namespace from numpy and matplotlib



```python
from sympy.parsing.sympy_parser import parse_expr
from sympy import Matrix, symbols, expand, latex
import numpy as np
import matplotlib.pyplot as plt

```


```python
f = parse_expr('2*sin(6 * phi)')
var = list(f.free_symbols)[0]

r = np.arange(0, 2*pi, 0.01)
theta = [f.subs(var, r).evalf() for r in r]

plt.figure(figsize=(10,10))
ax = plt.subplot(111, projection='polar')
ax.plot(r, theta, c='purple', lw=4)
ax.grid(True)

ax.set_title("Polat plot of ${}$".format(latex(f)), va='bottom')
plt.show()
```


```python

```

78b1417b2e72f148142820886444c3e9b3d7c32a
ipynb
Jupyter Notebook
Calcupy/polar.ipynb
darkeclipz/jupyter-notebooks
5de784244ad9db12cfacbbec3053b11f10456d7e
Unlicense
2018-08-28T12:16:12.000Z
2018-08-28T12:16:12.000Z
Calcupy/polar.ipynb
darkeclipz/jupyter-notebooks
5de784244ad9db12cfacbbec3053b11f10456d7e
Unlicense
Calcupy/polar.ipynb
darkeclipz/jupyter-notebooks
5de784244ad9db12cfacbbec3053b11f10456d7e
Unlicense
Qwen/Qwen-72B
1. YES
2. YES