Hi,
I’m creating a TGraph object from an ntuple that contains a “t” variable that is a unix time (seconds from 1970/01/01)
BrokStatusNtuple->Draw(“t:executing”,rangePeak,“goff”);
TGraph *grExecuting=new TGraph(BrokStatusNtuple->GetSelectedRows(),BrokStatusNtuple->GetV1(), BrokStatusNtuple->GetV2());
when I try to draw the graph it seems that some V1 values are rounded (probably due to scientific notation:
1.xxxxe+9 ) causing the fact that, for example, several x entries are treated as being the same (that could not be as V1 entries are all different and increasing).
I’ve found:
GetXaxis()->SetNoExponent(kTRUE);
method but it fix just the way label are displayed in the axis
Any suggestion?
thanks in advance for help