Hi Gernot, I do not see a problem with TProfile2D::SetMaximum. Could you run the following test ? { TProfile2D *p2d = new TProfile2D("p2d","test max",40,-4,4,40,-4,4); for (Int_t i=0;i<10000;i++) { Double_t x = gRandom->Gaus(0,1); Double_t y = gRandom->Gaus(0,1); Double_t z = x*x+y*y; p2d->Fill(x,y,z); } p2d->SetMaximum(30); p2d->Draw("lego"); } I am running with version 3 but there are no changes in this area since version 2.25 Rene Brun Gernot Maier wrote: > > Hello, > > I've got some problems plotting a 2D Profile histogram. I set a maximum > with p2d->SetMaximum, but this is ignored while plotting with the "lego" > or "surf" option, with other draw option, e.g. "colz" or "box" it works. > What's my fault? > > I'm using Root 2.25/03 on Alpha OSF. > > Thanks a lot > > Gernot > > -- > Gernot Maier KASCADE Collaboration > Institut fuer Kernphysik Tel. +49 (0) 7247 82-4174 > Forschungszentrum Karlsruhe maier@ik1.fzk.de
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET