TH2 is always drawing COLZ plot

root is always drwing “COLZ” plots. I checked with TH2D also. Sometimes I don’t want COLZ plots, but I cannt do it. See below my example. Though I want " * " plot, it is always doing COLZ plot.

TH2F* h1 = new TH2F(“h1”,“test”,40,-4,4,40,-20,20);
Float_t px, py;
for (Int_t i = 0; i < 25000; i++) {
h1->Fill(px, 5* py);

My root version is 6.30/06, macos 14.4.1, Apple clang version 15.0.0 (clang-1500.3.9.4).

For me (v 6.24.04), it seems to draw without the colz option,

Can you try


COL is the new default option. See the warning about the previous default here: ROOT: THistPainter Class Reference

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