2011-11-29から1日間の記事一覧

Python command

numpy リストをarrayにする numpy.array(list) 指定した数のarrayを生成する。rangeはlistを生成 numpy.arrange(start,end,bin) matplotlib plt.plot(x,y) #図を描写 plt.plot([x1,x2,x3],[y1,y2,y3], "ro-") #赤丸三点を結ぶ線を描写 plt.legend(('legend',…