This is an old revision of the document!
matplotlibの必要最低限の使い方を解説します。
三角関数を例に、関数のプロット方法と簡単な調節の仕方を紹介します。
import numpy as np import matplotlib.pyplot as plt x = np.arange(-np.pi, np.pi, 0.1) y = np.sin(x) plt.plot(x, y) plt.show()