Setting contour levels for TF2

From: Stephen Bailey (bailey@physics.harvard.edu)
Date: Sun Jan 17 1999 - 01:34:50 MET


Hi.

I'm trying to use ROOT to draw a contour map of a 2D function
using TF2.  I see that I can set the number of contours using
TF2::SetContour(Int_t nlevels), but is there any way that I
can set what the contour level are, like
TH1::SetContour(Int_t nlevels, Float_t* levels) ?
And if not that, is there any convenient way I can find out what
levels ROOT is using for my function by default?  Thanks.

Stephen

Details:  My specific function is

TF2* cn1 = new TF2("cn1", "1/(0.84*0.71*sqrt(y/(1+y))*sqrt(x*670))", 0.05,
0.1, 0.25, 1);

and I would like to draw a contour plot with contours at
0.3, 0.35, 0.4, ..., 0.6



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET