color = 'colorname'
fig, ax1 = plt.subplots()
ax2 = ax1.twinx()
ax1.plot(x,y)
ax2.plot(x, y, color='darkorange')
matplotlib color &次坐标轴
最新推荐文章于 2023-05-15 07:28:31 发布
color = 'colorname'
fig, ax1 = plt.subplots()
ax2 = ax1.twinx()
ax1.plot(x,y)
ax2.plot(x, y, color='darkorange')