通过spines命令移动横纵坐标轴
##matplotlib画图初步,代码抄自莫凡大神,地址:
##https://morvanzhou.github.io/tutorials/data-manipulation/plt/2-3-axis1/
import matplotlib.pyplot as plt
import numpy as np
x=np.linspace(-3,3,50)
y1=2*x+1
y2=x**2
plt.figure(num=3,figsize=(5,6))
plt.plot(x,y2)
plt.plot(x,y1,color='red',linewidth=