i have a rather simple problem but no matter what i try, i don’t succeed to solve it:
i want to plot a few values taken at some points in time (point in time: x-axis, value w/ error: y-axis). as a histogram, i didn’t manage to draw the right error bars but as a TGraph the curve looks nice. However, the method
for(int i=0;i<n;i++) gr->GetXaxis()->SetBinLabel(i,date[i]);
doesn’t work! All the labels are written in the first bin! And I can’t find anything else in the ROOT documentation…
Any ideas how to fix this?