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

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Wed Apr 17 2002 - 12:04:26 MEST


Hi Rene,

> What is the problem?

Ok, didn't make my point clear, I'm sorry:
There are no axis titles at all. The axis titles (in the example below)
are completely missing.

Thomas.

> > 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();



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:50 MET