How can I change the color of the point in TH2F?


Please read tips for efficient and successful posting and posting code

_ROOT Version: latest as of january 2021
_Platform:Ubuntu 20.04
_Compiler:C++


So I want to combine two TH2F histograms, but I still want to be able to tell them apart. I want to change the plot color of one of them from black to green, so that I have black and green points that I can differentiate. How do I do this? On TH1F I do SetFillColor() but here this does not work. Any Idea?

It depends with drawing option you are using.
It can be SetLineColor() or SetMarkerColor() depending the option you are using.

Thank you, SetMarkerColor is working. However, how do I merge two histograms while keeping their color separate? I want to be able to tell the two apart.

THStack

Thank you