How can I plot this data? Imaginary parts are too small, I don’t see them on the plot area. I tried to use plt.xlim()
and plt.ylim()
but couldn’t make it work.
import matplotlib.pyplot as plt
data = [1.000052470669582036604189 - 0.00001898961820489467689458871j, 1.000000441778003831283183 - 0.0000001595683449620507118213679j, 1.000000027837715613609604 - 1.005385139170477066584745e-8j, 1.0000000006528950616178 - 2.357939430421727273596467e-10j, 1.000000000114539678498681 - 4.136608814692826295398465e-11j]
x = [ele.real for ele in data]
y = [ele.imag for ele in data]
plt.scatter(x,y)
plt.ylabel('imaginary')
plt.xlabel('real')
plt.xlim()
plt.ylim()
plt.show()