line width in a divided canvas

From: OKUMURA, Akira <oxon_at_ceres.phys.s.u-tokyo.ac.jp>
Date: Thu, 18 Jun 2009 12:14:41 +0900


Hello all,

root [0] TH1* h1 = new TH1D("h1", "h1", 100, -3, 3)
root [1] h1->FillRandom("gaus")
root [2] TCanvas* can = new TCanvas("c", "c", 600, 600)
root [3] can->Divide(5,5)
root [4] can->cd(1)

(class TVirtualPad*)0x1841a00
root [4] h1->Draw("e")
root [5] can->SaveAs("can.pdf")
Info in <TCanvas::Print>: pdf file can.pdf has been created

When I divide a canvas into many sub pads, the line width of the histogram h1 becomes relatively too thick. As a result, error bars overlap each other. How can I set the width smaller than (int) 1 ?

Regards,

OKUMURA, Akira oxon_at_ceres.phys.s.u-tokyo.ac.jp Department of Physics, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033
TEL/FAX +81 3-5841-4173/4059
Skype : okumura.akira Received on Thu Jun 18 2009 - 05:14:55 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 18 2009 - 11:50:02 CEST