[ROOT] fit - colour

From: Hermine Katharina Woehri (Hermine.Woehri@cern.ch)
Date: Thu Aug 09 2001 - 11:49:10 MEST


Hello,

Into one pad I would like to draw 4 sets of data points, which I would
like to fit. In order to additionally draw error bars, I set the
MarkerSize of the histogram-points to zero and used the TGraphErrors() to
draw the measured values with their error bars. The usage of filling a
histogram was necessary in order to fit the data points. With
SetMarkerColor for the TGraphErrors()-object I can select different
colours for the data points.
But, HOW, can I select different colours for the fitted curves?
(hist1->SetColorLine(kBlue); does not work !).

Cheers,

Hermine

+------------------------------------------------------+
|Hermine Katharina Woehri	hermine.woehri@cern.ch |
+------------------------------------------------------|
|EP Division					       |
|CERN						       |
|CH-1211 Geneve 23	       office:  +41 22 767-9408| 
|Switzerland                   private: +33 671 72 9888|
+------------------------------------------------------+



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET