by shigemk2

当面は技術的なことしか書かない

2018-08-21から1日間の記事一覧

matplotlib tutorial 2

plt.plot でx軸とy軸の配列をを交互にパラメータとして入れていく感じ #coding: utf-8 import matplotlib.pyplot as plt plt.plot([1, 2, 3, 4], [1, 10, 3, 5], [1, 2, 3, 4], [9, 9, 9, 9], [1, 2, 3, 4], [1, 3, 5, 7], [1, 2, 3, 4], [10, 8, 6, 4]) plt…

matplotlib tutorial

matplotlib tutorial #coding: utf-8 import matplotlib.pyplot as plt # plt.plot([1, 2, 3, 4]) #なだらか # plt.plot([1, 2, 3, 4], [1, 4, 9, 16]) #(1,1)(2,4)(3,9)(4,16) plt.plot([1, 2], [3, 4], [1, 4], [9, 16]) #なんかよくわからない plt.ylabel…