-
最近の投稿
最近のコメント
Archive
カテゴリー
メタ情報
月別アーカイブ: 2013年7月
matplotlib のプロットの単純な例
matplotlib を用いて関数をプロットする単純な例.
1 2 3 4 5 6 |
import matplotlib.pyplot as plt import numpy as np x = np.arange(0, 10, 0.2) y = np.sin(x) plt.plot(x, y) plt.show() |
さらに簡略化された書き方として,pylab を用いて以下のように書くこともできます.̶ … 続きを読む
カテゴリー: matplotlib, python
コメントする
Test of QuickLaTeX
This is a test of display math equations. The axis shows [], the wavelength of electron & … 続きを読む