草庐IT

【Python】matplotlib之折线图的各种样式和画法

上述图的完整代码如下:fromnumpyimport*importnumpyasnpimportpandasaspdimportmatplotlib.pyplotaspltimportpylabasplfrommpl_toolkits.axes_grid1.inset_locatorimportinset_axesy1=[0.92787363,0.92436059,0.92380563,0.92169979,0.92215771]y2=[0.87410227,0.85341922,0.84874221,0.83406411,0.83610876]y3=[0.77410227,0.7534192
12