TProfile2D PROFCOLZ Errors


_ROOT Version:6.08/00
Platform: Not Provided
Compiler: Not Provided


Hi there,

I want to produce two TProfile2D plots. I want one histogram where the bins contain the the mean value of a TH3F and the other to be a histogram where the bins contain the standard error.

I have had success obtaining the mean plot in the style I want using the PROFCOLZ draw option:

_TTree->Draw("var_z:var_y:var_x>>h(Nx, 0 , 0, Ny, 0, 0, Nz, 0, 0)", "", "PROFCOLZ")

For the errors, one can use the “E” draw option:

_TTree->Draw("var_z:var_y:var_x>>h(Nx, 0 , 0, Ny, 0, 0, Nz, 0, 0)", "", "E")

How would I create a plot with the errors in the bins like PROFCOLZ? I have tried PROFCOLZE but this draws both the projection and the 3D profile simultaneously.

Many thanks!

Jack

The way to draw Error in your case will be “PROF E”.

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