TTree::Draw problem with alphanumeric bins

Hi,

I tried to draw a 2D histogram from a root file using an alphanumeric variable but apparently I do something wrong. (ROOT 5.33/03 (trunk@43722, Apr 13 2012, 08:05:43 on linux))

The following macro demonstrates the problem (using the attached text-file as input).
bugTree.txt (178 Bytes)

{
    TFile *f = new TFile("bugTest.root","RECREATE");
    TTree* t = new TTree("t","t");
    t->ReadFile("bugTree.txt","txt/C:id/I:val/F");
    TCanvas* canv = new TCanvas("canv");
    canv->Divide(3,1);
    canv->cd(1);
    t->Draw("val","","");
    canv->cd(2);
    t->Draw("txt:val","","colz");
    canv->cd(3);
    t->Draw("id:val","","colz");
    t->Write();
    f->Close();
}

I get the following output:



My expectations would have been, that the middle and the right plot look the same (except the labels) or at least similar. But I don’t see any bins being drawn at all if I use text labels.

What am I doing wrong?
thanks,
Peter

Hi Peter,

Do you still see the problem with v5.34/01 (a similar sounding issue was recently resolved).

Thanks,
Philippe.