I'm trying to plot the graph of Euler's formula (e^(ix)) on a complex plane (preferably with matplotlib) to achieve the circular graph (radius i). Is there a way I can do this?
So far I've only managed to plot it on a real plane to get a graph in the form e^(kx) with the following code:
import numpy as np
import matplotlib.pyplot as plt
i = np.emath.sqrt(-1).imag
e = math.e
x = np.linspace(0, 10, 1000)
plt.scatter(x, (e**(i*x)))
# plt.scatter(x, (np.cos(x) + (i*np.sin(x))))
plt.show()