How to draw optimiation of 2D between two variables?

Dear expert,
Actually I plotted the 1D distribution of eta energy and asymmetry energy ratio. Both are strongly correlated. But I want to draw the optimization of 2D distribution between both variables. I also attached the 1D distribution of eta energy, asymmetry energy and and correlated distribution below . But want to draw the 2D optimization of both variables same as sample.png.
Any kind of suggestion and help is highly appreciated.
Processing: sample.png…


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Instead of (or in addition to) your 1D histograms you will need to fill a 2D histogram. You cannot create a 2D histogram out of 2 1D histograms, as they only contain the projections, no correlations.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.