2020
09-27
09-27
python 画图 图例自由定义方式
我就废话不多说了,还是直接看代码吧!#-*-coding:utf-8-*-"""CreatedonWedMar713:10:212018@author:su"""importnumpyasnpimportmatplotlib.pyplotaspltn_groups=2num_list=[0.8,0.80]num_list1=[0.8,0.8]num_list2=[0.9,0.9]num_list3=[0.9,0.9]fig,ax=plt.subplots()plt.grid(True,linestyle="-",color="#9dbcd4",linewidth="0.7",axis='y')ax=plt.gca()ax.spines['top'].s...
继续阅读 >