I’d like to superimpose on a TH2F the result of TH2F::ProfileY(). Since the TProfile x axis is the TH2F y axis, TProfile::Draw(“same”) does not work. What is the easiest way to achieve that?
hbar is exactly the option I would need but when superimposed to the TH2 the results are “ugly”. Clearly markers would be much better. So I can only suggest you to consider adding this option in future as a natural consequence of TH2::ProfileY
Yes that’s what I would have suspected (that you prefer markers).
Right now there is no way to invert the 2 axis except with Hbar.
To to that right now the best would be to use intermediate TGraph