### Import sympy parametric plot modules


```python
%reset -f             
from sympy import *    
from sympy.plotting import plot_parametric
from sympy.plotting import plot3d_parametric_line
import math

init_printing()        # for nice math output 

# uncomment for plot in separate window
%matplotlib qt        

# uncomment for plot inline --- DEFAULT
#%matplotlib inline  
```

### Declare symbolic variables


```python
t = symbols('t')
```


```python
# 2d - Example 1 
x = cos(t)
y = sin(t)
plot_parametric(x, y, (t, 0, 2*pi))
```


```python
# 2d - Example 2
x = t + 0.5 * cos(10*t)
y = t + 0.5 * sin(10*t)
plot_parametric(x, y, (t, -2*pi, 2*pi))
```


```python
# 2d - Example 3 - Cycloid
x = t - sin(t)
y = 1 - cos(t)
plot_parametric(x, y, (t, -2*pi, 2*pi))
```


```python
# 2d - Example 4 
x = 0.1*t*cos(t)
y = 0.1*t*sin(t)
plot_parametric(x, y, (t, 0, 10*pi))
```


```python
# 3d - Example 1 
import math
x = sin(t/10)*cos(t)
y = sin(t/10)*sin(t)
z = t


# uncomment for plot in separate window
%matplotlib qt        

plot3d_parametric_line(x, y, z, (t, -10*math.pi, 10*math.pi))

```




    <sympy.plotting.plot.Plot at 0x7f433c50d490>




```python
# 3d - Example 2
x = t*cos(t)
y = t*sin(t)
z = t

plot3d_parametric_line(x, y, z, (t, 0, 6*math.pi))
```


```python

```

9875def058b89f3c757621a6016c0a55643df7a0
ipynb
Jupyter Notebook
sympy/parametricPlot.ipynb
krajit/krajit.github.io
221c8bcdf0612b3ae28c827809aa309ea6a7b0c2
MIT
2018-09-29T07:40:07.000Z
2022-02-28T22:17:04.000Z
sympy/parametricPlot.ipynb
krajit/krajit.github.io
221c8bcdf0612b3ae28c827809aa309ea6a7b0c2
MIT
2019-08-26T08:42:47.000Z
2019-08-26T09:48:21.000Z
sympy/parametricPlot.ipynb
krajit/krajit.github.io
221c8bcdf0612b3ae28c827809aa309ea6a7b0c2
MIT
2017-09-09T23:32:09.000Z
2020-01-28T21:11:39.000Z
Qwen/Qwen-72B
1. YES
2. YES