[ROOT] Problems with axis titles in TH2F (SURF3)

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Tue Apr 16 2002 - 16:33:00 MEST


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