Python--Matplotlib(基本用法)
参考实例化import matplotlib.pyplot as pltfig = plt.figure()子图(类似MATLAB)ax = fig.add_subplot(221)设置图参数ax.set(xlim=[0.5, 4.5], ylim=[-2, 8], title='An Example Axes', ylabel='Y-Axis', xlabel='X-Axis')多子图一次性设置fig, axes = plt.subplots(nrow
原创
2020-10-21 14:29:12 ·
188 阅读 ·
0 评论