Hi Eric, I have tried to reproduce your problem with ROOT 3.05/05 on linux, but for me it works fine. I used the following example: { TCanvas *c1 = new TCanvas("c1","Profile histogram example",200,10,700,500); hprof2d = new TProfile2D("hprof2d","Profile of pz versus px and py",40,-4,4,40,-4,4,0,20); Float_t px, py, pz; for ( Int_t i=0; i<25000; i++) { gRandom->Rannor(px,py); pz = px*px + py*py; hprof2d->Fill(px,py,pz,1); } hprof2d->Draw("COLZ"); } Let me know. Cheers, Olivier On Wed, 16 Jul 2003, Eric Thomas wrote: > Hi All, > > > Does the following command > > h440->Draw("COLZ"); > > works properly in case h440 is a TProfile2D? > I am wondering because the displayed colors doesn't match the > panel's color code and the bin content. > I am using root 3.05/00. > > Thanks for the help, > > Eric > > -- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET