I’m currently asked to plot a 3D, x and y are simple co-ordinates and z is intensity. I decided to use TH2D for this, and it currently plots co-ordinates, then using “COLZ” draw option, it colours the coordinates by %(value/avg_value)
What I also wish to show is the statistics of my data.
Such as, Average calculated intensity(not in percent), Max,Min and number of valid data. Some of the data get selectively discarded, so what gets plotted on the TH2D isn’t necessarily want to show.
I’m familiar with TLegends, but, is there a similar way to input a custom statistics?
By the way, the URL I gave you is pointing to the ROOT reference guide which is rebuild every night. To generate the pictures you see in the tutorials documentation web pages, the macros are actually run…So, if you see the picture and the code example it means the example was working in the last night rebuild. So if iy take the exact code written on that page it should run.