_ROOT Version: 6.10.00 Platform: Not Provided
_Compiler: python2
Hello! I am trying to draw the axis of a graph on the right side of the canvas, but the Y+ option is not working. Actually, nothing appears on the canvas when I use this option.
My code:
f = TFile(“AQUARIUS2.root”)
t = f.Get(“AQUARIUS”)
nEntries = t.GetEntries()
for i in range(0,nEntries):
t.GetEntry(i)
y = np.append(y, t.GetLeaf(“y”).GetValue())
x = np.append(x, t.GetLeaf(“x”).GetValue())
When I run the code without the option Y+ (mag.Draw()) it works fine.