-
最近の投稿
最近のコメント
Archive
カテゴリー
メタ情報
「ROOT」カテゴリーアーカイブ
pyROOT tips
Legend の作成
1 2 3 4 5 |
from ROOT import TLegend def setLegend(leg, entries): if isinstance(entries, (list, tuple)): for ent in entries: leg.AddEntry(ent, ent.GetName()) |
使い方
1 2 |
leg = TLegend(0.65, 0.65, 0.85, 0.85) setLegend(leg, (h1, h2, h3)) |
複数のカットを and で連結する [crayon-67f … 続きを読む