Hi, As I am still a starter at root I still have basic questions... I am trying to plot one ntuple variable against the same one but with different parameters.. So I have a variable called norm which depends on pdid and pixid. For example I can plot norm for pdid=0 and pixid=0 using the following way: h10->Draw("norm","pdid==0 && pixid==1"); A second histogram could be: h10->Draw("norm","pdid==0 && pixid==37"); Now I would like to basically plot the two histograms againt one another..ie plot norm for pdid=0 and pixid=1 against norm for pdid=0 and pixid=37. I am ok doing so for the same parameters but different variables, but here I have the same variable against different parameters. To do so can I do something like ? h10->Draw("norm:norm","pdid==0 && pixid==1","pdid==0 && pixid==1"); or is it better to read the data and fill a 2D histogram or a compare directly the 2 histograms... Otherwise how do I do ? Hope you understood my problem wasn't easy to explain... Cheers.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:49 MET