Hi Yannick,
do f1->Draw("chist");
Rene Brun
Patois Yannick wrote:
>
> Hi rooters,
>
> I try to display a function with some filling attributes but the curve
> is never filled.
>
> root [0] f1=new TF1("f1","gaus",-5,5)
> root [1] f1->SetParameter(0,1)
> root [2] f1->SetParameter(1,1)
> root [3] f1->SetParameter(2,1)
> root [4] f1->SetFillColor(27);
> root [6] f1->SetFillStyle(3005);
> root [7] f1->Draw()
>
> Doest fill f1 with a pattern.
>
> Any suggestion ?
>
> root version : * Version 2.25/03 15 September 2000 *
> on an ix86 linux machine.
>
> Yannick
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET