memo/20120313
created 2012-03-13 modified 2012-03-13
| リンク | 備考 |
|---|---|
| matplotlib | Pythonで高品位の2Dプロットを行うライブラリ |
| IPython | matplotlibを内包するインタラクティブ計算シェル。Mathematicaみたいなことができる。 |
格好いい!
Mathematicaみたいっていうか、そっくり。
公式のチュートリアルがわからなかったのでYouTubeで検索したらいいのが出ました。
| リンク | 備考 |
|---|---|
| 1_getting started with ipython | YouTube |
ipython -pylab
linspace? linspace(1,100,100) linspace(0,1,200) p = linspace(-pi,pi,100) len(p) plot(p,cos(p)) clf() plot(p,sin(p))
自分もシンプルな例を考えてみた
x = [1.1, 1.2, 1.5] y = [2.1, 2.0, 0.5] plot(x,y)
quit()
うむ。これはいい。
| リンク | 備考 |
|---|---|
| matplotlib pyplot tutorial | |
| matplotlib.pyplot.plot | |
| Matplotlibサンプル集 |