pyplot.plot assumed our single data list to be the y-values; ... plt.plot([0.1, 0.2, 0.3, 0.4], [1, 4, 9, 16], label='second plot') >>> plt.legend().
確定! 回上一頁