TH2D class object was plotted with “option=contz”, but How to add a title to color bar?
ROOT Version: 6.28/04 Platform: Ubuntu 20.04 Compiler: GCC 9.4.0
h->GetZaxis()->SetTitle("Z title");
@couet , thanks, it works well!