Re: Fill TF1?

From: Arthur E. Snyder <snyder_at_slac.stanford.edu>
Date: Mon, 11 Jun 2012 14:31:18 -0700


That worked. Thanks.

Why isn't there a default or something? I didn't see this step any of the post that popped up seaching for TF1 and Fill

-Arthur

A.E. Snyder, The Former Group C (TFC)        \!c*p?/
SLAC Mail Stop #95                          ((.   .))
Box 4349                                        |
Stanford, Ca, USA, 94309                      '\|/`
e-mail:snyder_at_slac.stanford.edu                 o
phone:650-926-2701                              _
http://www.slac.stanford.edu/~snyder          BaBar
FAX:707-313-0250                          Collaboration
                                                 &
                                            Fermi/GLAST



On Mon, 11 Jun 2012, David d'Enterria wrote:

> by doing e.g. f.SetFillStyle(3000); ?
>
> On 06/11/2012 11:23 PM, Arthur E. Snyder wrote:
>> Why doesn't this work
>>
>> fg is "gaus"
>>
>> I do
>>
>> fg->root [67] fg->SetFillColor(38)
>> root [68] fg->GetFillColor()
>> (const Color_t)38
>> root [70] fg->Draw("fc")
>>
>> The area below the curve is not filled!
>>
>> -AE
>
>
> --
> David d'Enterria (CERN) http://cern.ch/dde
> -------------------------------------------------------------
>
>
Received on Mon Jun 11 2012 - 23:31:26 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 12 2012 - 17:50:02 CEST