ax1=plt.subplot(2,2,1, frameon=False)# 兩行一列,位置是1的子圖 plt.plot(x, y1,'b--') plt.ylabel('y1') ax2=plt.subplot(2,2,2, projection='polar') plt.plot(x, y2,'r--') plt.ylabel('y2') plt.xlabel('x') plt.subplot(2,2,3, sharex=ax1, facecolor='red') plt.plot(...
www.dbjr.com.cn/article/2723...htm 2025-5-25