Hello Forum,
I’m trying to do something that, in principle, sounds easy, but is proving challenging to me.
I have 3 Ntuples and would like to plot them on the same set of XY axes in the same style. I have written the following code to try to achieve this:
However this gives me only the first Ntuple plotted in the style “L”, as a solid line. The remaining Ntuples still appear as points on the plot. I would like all 3 Ntuples to appear in the style “L”.
Another more minor question is about “htemp->SetTitle(“PDD of 6 MV Beam in PMMA”)”. What is the command to center it?
Thanks in advance,
Ricardo
_ROOT Version: 5.34
_Platform:Ubuntu Not Provided Compiler: Not Provided
Perhap’s it’s because I’m a Newbie, but I find Ntuple very cumbersome for anything other than quickly filling data. Whenever one wants to do anything presentable with it, one has to cast it as a histogram which more or less reduces its role to a sort of middleman.
It appears that I can only shrink the range on the Y-axis. But there must be some way to increase that range, since part of the data is cut out at the present. Any ideas?