Hi Jonathan,
You can do:
tree.Draw("x:y:z");
htemp->SetTitle("a global title;x title; y title; z title")
or
htemp->GetXaxis()->SetTitle("x title");
htemp->GetYaxis(.. etc
or
TH3F *h = new TH3F("hname","a global title;x title; y title; z
title",nbinsx,
xmin,xmax, nbinsy, ymin,ymax, nbinsz, zmin,zmax);
tree.Draw("x:y:z>>hname");
Rene Brun
On
Mon, 20 Oct
2003, Johnathan Wang wrote:
> Hi, say one has draws a 3 dimensional ntuple with axes x, y, and z. how
> does one set the title/name of the three axes?
> Thanks,
> John
>
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET