#!/usr/bin/env python
# --*-- coding:utf-8 --*--
import matplotlib.pyplot as plt
x=range(-1000,0)
y=[1.0/e for e in x]
plt.plot(x,y)
x=range(1,1001)
y=[1.0/e for e in x]
plt.plot(x,y)
plt.show()
#!/usr/bin/env python
# --*-- coding:utf-8 --*--
import matplotlib.pyplot as plt
x=range(-1000,0)
y=[1.0/e for e in x]
plt.plot(x,y)
x=range(1,1001)
y=[1.0/e for e in x]
plt.plot(x,y)
plt.show()