Draw("AXIS") doesnt' work in TH3s!

Hi All,

I have three TH3 histograms. I filled and drew them.
For example,

TH3F *h1;
TH3F *h2;
TH3F *h3;

h1->Fill(any bins);
h2->Fill(any bins);
h3->Fill(any bins);

h1->Draw("AXIS");
h2->Draw("same");
h3->Draw("same");

Normally, the same script runs on my TH2 histograms, but not on my TH3 histograms ? Does Draw(“AXIS”) just shows axises of histogram? I mean that I can see axises in TH2 histograms and “also can see axis labels” but not in TH3 ones ?
Doesn’t Draw(“AXIS”) run in TH3s ?

Cheers,
Ersel

This option is not implemented for TH3

Ok Thanks…
Well, How might i draw a TH3 histogram with multicolour, as in the following manner for TH2;
( a template of my script related to filling TH2 with multicolour ; not try to run it )
So,i mean that is there another way for filling TH3 with multicolour ?

gStyle->SetOptStat("nemrRM");
TH2 *h1;
TH2 *h2;
TH2 *h3;
for(int hv=0;hv<2;hv++){
h3->Fill("..."); (fills 96 bins) 
if (hv==0) {
h2->Fill("..."); (fills 48 bins)
h2-SetMarkerColor(kRed); }
if(hv==1) {
h1->Fill("..."); (fills 48 bins)
h1->SetMarkerColor(kBlue); }
}
h3->Draw("AXIS"); 
h2->Draw("same");
h1->Draw("same");

Thanks for your help,
Cheers,
Ersel

oid th3same(){
   TH3D *h1 = new TH3D("h1", "h1", 100, -1., 1., 100, -1., 1.,100, -1., 1.);
   TH3D *h2 = new TH3D("h2", "h2", 100, -1., 1., 100, -1., 1.,100, -1., 1.);

   double phi=0., cos_theta=0., theta=0.;
   for(int i=0; i<100; i++){
      phi       = gRandom->Uniform(0., 6.28);
      cos_theta = gRandom->Uniform(0., 1.);
      theta     = acos(cos_theta);
      h1->Fill(cos(phi)*sin(theta), sin(phi)*sin(theta), cos_theta);
      h2->Fill(sin(phi)*sin(theta), cos(phi)*sin(theta), cos_theta);

   }
   TCanvas *c1 = new TCanvas("c1", "c1",1);
   h1->SetMarkerStyle(4);
   h2->SetMarkerStyle(4);
   h1->SetMarkerColor(kRed);
   h2->SetMarkerColor(kBlue);

   h1->Draw();
   h2->Draw("SAME");
}

Note that to draw 3D cloud of points TNuple is a better choice than TH3.

Thanks Olivier