请完善程序。#coding=utf-8 #为防止中文乱码,需要加上这个import matplotlib.pyplot as plt, numpy as npx=np.linspace(0,1,20) #x是0,0.05,0.1...y1=x*x; plt._________()plt.rcParams['font.sans-serif'] = 'SimHei'plt.plot(x,y1,color='green',marker='o')plt.xlabel('节点数(*100)')plt.ylabel('能耗(J)')plt.show()
发布时间:2024-04-19 21:39:06