Hi Jan,
please look at:
http://root.cern.ch/root/roottalk/roottalk04/0393.html
Cheers
Otto
On Wed, 31 Mar 2004, Musinsky J. wrote:
> Hello,
> exist any method how draw in histogram any bins with different color ?
> For example:
>
> h1 = new TH1F("h1","h1",100,-10,10);
> h1->FillRandom("gaus");
>
> TH1F::SetBinColor(10,RED)
> TH1F::SetBinColor(20,BLUE)
>
> I nedd draw this histo with bin 10 RED color and with bin 20 BLUE color
> (other bins with default color)
>
> Thanks Jan
>
--
Dr. Otto Schaile Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070 Am Coulombwall 1, D-85748 Garching, Germany
GSM: +49 160 1553598
FAX: +49 89 289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET