Thomas, What is the problem? When displayting a 2-D histogram with the 3-d options, you can set various parameters, eg h->GetXaxis()->SetTitleOffset(1.2) to avoid overlaps between the labels and the axis title. Rene Brun Thomas Bretz wrote: > > Dear all, > > I tried to display axis titles for the three axis' in a TH2F > (Draw("SURF3")). > > Before I switched to 3.02/07 a code like: > > TH2F *hist=new TH2F("name", "title", 2, 0, 1, 2, 0, 1); > > hist->SetXTitle("Title X"); > hist->SetYTitle("Title Y"); > hist->SetZTitle("Title Z"); > > hist->Fill(0.1, 0.1); > hist->Fill(0.2, 0.2); > hist->Fill(0.3, 0.3); > > hist->Draw(); > > What is wrong? > > Best regards, > Thomas.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:50 MET