Hello,
The bin labels are not displayed when using a THnSparse projection.
int bins[1]={3} ;
double edges[4]={0,1,2,3} ;
THnSparse* hn = new THnSparseD("","",1,bins) ;
hn->SetBinEdges(0,edges) ;
hn->GetAxis(0)->SetBinLabel(1,“john”)
hn->Projection(0)->Draw()
It looks like the projected histogram axis doesn’t point to the original THnSparse axis.
In case of a copy, can the bin labels be replicated too ?
Many thanks
Best regards
Renaud