[ROOT] choosing contour level

From: Boris Tuchming (tuchming@cea.fr)
Date: Thu Jun 12 2003 - 15:46:30 MEST


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};
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