Stephen Bailey wrote: > > 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 Hi Stephen, In version 2.21/02, I have added: - support for non-equidistant contours in TH1::PaintContour - Support for equi and non-qudistant contours in TF2 Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET