I am having difficulty understanding how matplotlib.pyplot.xlim() works.
I am plotting a simple plot of x values vs y values. The y values are numerical points in the range of 100-600. The x values are of magnitude e-09 to e-13. So, I plot x against y. This is my plot, with generic pseudocode
import matplotlib.pyplot as plt
x = np.array
y = np.array
plt.plot(x,y)
plt.ylim(0,400)
plt.show()

As you can tell, there's plenty of structure between 0 and 0.5. I would like to look at that.
So, I try
plt.plot(x,y)
plt.xlim(0,0.5)
plt.ylim(0,400)
plt.show()
The output plot is completely blank. I see nothing.
So, I try, xlim= -1 to +1
plt.plot(x,y)
plt.xlim(-1,1)
plt.ylim(0,400)
plt.show()
This is the output plot.

Using the origninal plot, how can I set the x-axis to see the actual data?