-
最近の投稿
最近のコメント
Archive
カテゴリー
メタ情報
「未分類」カテゴリーアーカイブ
カーブフィッティング(曲線当てはめ)について
資料 R2値 Evaluating Goodness of Fit (MathWorks 社) http://www.mathworks.co.jp/jp/help/curvefit/evaluating-goodne … 続きを読む
対数スケールのヒストグラム logarithmic histogram
対数スケールでヒストグラムを描画する場合,pyplot.hist の log オプションを付ける.
1 2 3 4 5 6 7 8 9 10 11 |
import numpy as np import matplotlib.pyplot as plt # ヒストグラムに詰められるデータの作成 sample = np.random.poisson(2.5, size=1000000) # 線形 plt.hist(poi, bins=20, range=(0,20)) # 対数 plt.hist(poi, bins=20, range=(0,20), log=True) |
対数スケールでヒストグラムに描画するデータの中に,0 … 続きを読む
カテゴリー: matplotlib, python, 未分類
コメントする
よく使う物理定数
よく使う物理定数 名称 記号 数値 単位 真空中の光速 $$c$$ 2.99792458E+08 $$\mathrm{m}\ \mathrm{s}^{-1}$$ 真空の透磁率 $$\mu_{0}$$ 1.25664E-0 … 続きを読む
emcas で認識されるパスを通常の端末と同じにする
問題: 例えば emacs で tex を文章をコンパイルするとき(例えば yatex などの機能で C-c C-t j する),No such directory or file. bad interpreter と出 … 続きを読む
Test of QuickLaTeX
This is a test of display math equations. The axis shows [], the wavelength of electron & … 続きを読む