import numpy as np · import matplotlib.pyplot as plt · fig, ax1 = plt. · ax2 = ax1.twinx() # 让2个子图的x轴一样,同时创建副坐标轴。 · # 作y=sin(x)函数.
確定! 回上一頁