Hi Olivier,
thank you for your answer but I still get the same results (the level
drawn by root are at 0.33 and 0.66)
Boris
Olivier Couet wrote:
>Hi Boris,
>
> Just put the levels in incresing order:
>
> Double_t level[3]={0.1,0.5,0.98};
>
> Cheers, Olivier
>
>
>On Thu, 12 Jun 2003, Boris Tuchming wrote:
>
>
>
>>Hi,
>>I am using root 3.05/02 on linux
>>I am having troubles when choosing the contour levels for a 2d histogram
>>or function.
>>I have summarized the problem by the following macro
>>
>>{
>>TF2* f2=new TF2("f2","exp(-x*x/2)*exp(-y*y/2)",-5,5,-5,5);
>>Double_t level[3]={0.98,0.5,0.1};q
>>f2->SetContour(3,level);
>>f2->Draw("cont");
>>}
>>
>>by doing this,
>>I do not get the levels that I would like (in this example 0.98, 0.5 and
>>0.1)).
>>I guess I am doing something wrong but I can not figure out what.
>>Can any one help me ?
>>
>>Many thanks
>>Boris
>>
>>
>>
>>
>>
>>
>
>
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET