TProfile2D does not work in my app


I have a stand-alone application to fill histograms and profiles. Today for the first time I tried a TProfile2D,
after compiling and executing the program when I try to draw I don’t see nothing, but the entries are there! (I see this from the Stats panel). Then I try ->Draw("colz")

and I have this error:

Error in <TGaxis::PaintAxis>: wmin (0.000000) == wmax (0.000000).

So I try with ->Draw("surf") and it seems that all the entries are on the z=0 plane, which is very strange since I checked them and they are not zeros.

Someone has any idea of what is going on? :unamused:


Your histogram is probably empty …

Note that this part of the forum is dedicated to the advertising of working Apps that you may want to share with other. You will have better luck discussing issues on the ROOT Support forum.