Is it possible to change axis orientation?

Hi All,

I would like to draw a small matrix and its two projections at the same canvas. It will be suitable if the projection on the Y-axis could be draw at the right side of matrix plot and X-axis will be oriented vertically. I realized it without axis orientation changed using additional TGraph class, which was created from the data of TH1 class. But this way is not very suitable.
Thus, what is a simple way to draw TH1 class “vertically” (X-axis has vertical orientation)?

Thanks in advance
Andrey Daniel

see: $ROOTSYS/tutorials/hbars.C

Thanks.