TH3D question

Hi Rooters,

I am trying to plot a 3d histogram from ntuple like this:

TH3D *h3 = new TH3D("h3", "h3", 30, 0.5, 3.0, 20, 0.0, 200.0, 10, 1.5, 4.0);
chain->Draw("p:theta:e >> h3", "", " ");

The range of z-axis in the plot shows the content (like in TH1D or TH2D) instead of 1.5 - 4.0. Am I missing something?

Thanks.

Never mind. It is fine now.