赞
踩
用python画图,y=x和y=x*x叠加在一起。并且标记x=1的点
# -*- coding: UTF-8 -*- import matplotlib as mpl import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl import matplotlib.pyplot as plt x=np.linspace(-5,5,100) y1=x**2 y2=x plt.figure() plt.plot(x,y1,label='circle')
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。