RE: Drawing vertical lines on histogram

From: Aamer Wali Rauf <aamer.wali.rauf_at_cern.ch>
Date: Thu, 2 Feb 2012 09:57:08 +0000


I am afraid it doesn't work, for example I have log range from 10^-8 to 1.



From: Olivier Couet
Sent: 01 February 2012 16:52
To: Aamer Wali Rauf
Cc: roottalk_at_root.cern.ch
Subject: Re: [ROOT] Drawing vertical lines on histogram

root [0] hpx->Draw()
Info in <TCanvas::MakeDefCanvas>: created default TCanvas with name c1

root [1] c1->SetLogy(1)
root [2] TLine l(0,1,0,100)
root [3] l.Draw()


On Feb 1, 2012, at 4:42 PM, Aamer Wali Rauf wrote:

Hi,

How can you draw vertical lines on a histogram with logarithmic y-axis?

Thanks,
Aamer Received on Thu Feb 02 2012 - 10:57:14 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 11:50:01 CET