y-y plots typically have one vertical y-axis on … ... fig, ax = plt.subplots() ax.plot(x,y1) ax.set_title('sin(x)') plt.show().
確定! 回上一頁