c = np.cos(x). fig, ax = plt.subplots(figsize=(4.8, 3.6)). ax.plot(x, s, label="sin"). ax.plot(x, c, label="cos"). ax.legend(). plt.show() ...
確定! 回上一頁