2013-09-18から1日間の記事一覧

matplotlibで、特定のaxeのみをサイズ変更する

Axesクラスのset_position methodを使う。 以下pydoc Help on method set_position in pylab.Axes: pylab.Axes.set_position = set_position(self, pos, which='both') unbound matplotlib.axes.Axes method Set the axes position with:: pos = [left, bott…

matplotlibで、単振動を説明するときのアイツを描いてみた

円のx座標を射影すると単振動になるとかいうアイツです 大体公式のexample通り。 ソース 動画 https://dl.dropboxusercontent.com/u/13397138/test_sub.mp4 なお、なぜかchromeだと再生できない模様。 https://www.dropbox.com/s/no4eribvmtcwodr/test_sub.…