# グラフの軸を一括してログ表示にする( ``gStyle->SetOptLogx`` ) ```cpp gStyle->SetOptLogx(1) // X-axis gStyle->SetOptLogy(1) // Y-axis ``` ```python from ROOT import gStyle gStyle.SetOptLogx(1) gStyle.SetOptLogy(1) ```