Mirror th2 axes

Hi,

I have a TH2 histogram Y vs X, but I want to draw it as X vs Y.
Should I write my own loop that copies the bin contents to a fresh TH2 with X and Y interchanged or is there already such a functionality?

(I am stil using good old v5.12)

thanks
daan

No, the swap facility does not exist, but something like

TH2 *TH2::SwapXY(); could be implemented if there is enough interest

Rene