通过对plt.plot()的包装实现对线图的绘制。...plt.axes()
# 或一步法创建 fig, ax = plt.subplots(figsize=(10,4))
data1d.plot(ax = ax, marker="o")
更底层可通过Numpy 数组理解线图的绘制方法...(10)
y = np.random.rand(10)
z = np.sqrt(x**2 + y**2)
fig, axs = plt.subplots(2, 3, sharex=True, sharey...")
# 基于路径的标记
verts = [[-1, -1], [1, -1], [1, 1], [-1, -1]]
axs[0, 2].scatter(x, y, s=80, c=z, marker...=verts)
axs[0, 2].set_title("marker=verts")
# 正多边形的标记
axs[1, 0].scatter(x, y, s=80, c=z, marker=(5,