I wonder if one can draw 1D histograms on the vertical axis of a 2D histogram frame in root.
I better show what I mean with the following picture:
The red line is a 1D histogram on the variable in the Y axis of the colorful 2D histogram.
What a pity, I would need a line:
The histogram should go on top of a 2D one, just like in the example attached above (with bars is too ugly).
In addition, I’d prefer to put the histo in the right side, and “hbar” only works in the left side.
Below’s what I use to do this on my side (diff against 5.32.00).
(Sorry for the stupid names).
This could be a start to implement something more generic…
THistPainter.diff.tgz (1.18 KB)
A bit too primitive to be included into the trunk.