摘要:
import matplotlib.pyplot as plt import numpy as np x = np.arange(-10,11,1) y = x * x plt.plot(x,y) plt.text(0,40,'fanctio:y=x*x') plt.text(0,20,'fanctio:y=x*x') plt.show() # # Autogenerated by bo... 阅读全文
摘要:
2.更改日期 阅读全文
摘要:
1 import matplotlib.pyplot as plt 2 import matplotlib as mp1 3 import numpy as np 4 import datetime 5 fig = plt.figure() 6 star = datetime.datetime(2015,1,1) 7 stop = datetime.datetime(2016,1... 阅读全文
摘要:
1 import matplotlib.pyplot as plt 2 import numpy as np 3 x = np.arange(-10,11,1) 4 y = x*x 5 plt.plot(x,y) 6 plt.annotate('shis is the bootm', 7 xy=(0 阅读全文