Hi,
i want to draw two TH2F histograms on the same canvas with the text option. By default, the text is centre aligned, so the text gets overlapped.
h1 and h2 are TH2F histograms, then:
h1->Draw(“text”);
h2->Draw(“text,same”);
The text gets overlapped since it is centre aligned.
Might be stupid but i can’t find the option to left or right adjust the text with the bin count. Someone maybe knows the solution? Thanks.
You can [url=https://root-forum.cern.ch/t/can-we-shift-histogram-for-several-channels/12050/1 shift the X and/or Y axis of your second histogram[/url] by something like 1/2 of the corresponding bin width.