[[FrontPage/Python/Scipy+Numpy]] ** ドキュメント [#o3ab97a0] [[→公式リファレンス>http://turbare.net/transl/scipy-lecture-notes/intro/matplotlib/matplotlib.html]] ** Contour [#p5c671a5] [[pyplot.contour>http://matplotlib.org/devdocs/api/pyplot_api.html#matplotlib.pyplot.contourf]] contour(Z) contour(Z, corner_mask=False, colors=(mpl_colors), alpha = (float), cmap=Colormap, NORM=Normalize, vmin=scalar, vmax=scalar, levels=[float], origin=['upper'|'lower'|'image'], extent=(x0,x1,y0,y1), locator=?, extend=補完? contour(Z, cmap='hot') **Colormap [#ebd62f48] [[pyplot.Colormap>http://matplotlib.org/devdocs/api/colors_api.html#matplotlib.colors.Colormap]] #ref(mpl_cmap.png,,20%) [[→ Documenting the matplotlib colormaps>https://gist.github.com/endolith/2719900]] ** matplotlib.specgram [#l60e827c] ガボールウェーブレットの結果をスペクトログラムの様に表示したいが、imshow()だと、縦横比がおかしくなったり、目盛が逆になったりして、1か月ぐらいはまっていた。そこで、matplotlib.specgramの中身を確認すると、imshow()を使っていることが分かった。前処理を含み参考にしてgwtspecgramを実装する。 [[→matplotlib.specgram>https://gist.github.com/peace098beat/9812bd04612a3f656abc]] #ref(figure_specgram.png,,noimg,30%) #ref(figure_scarogram.png,,around,right,30%)