TGraphQQ

Does TGraphQQ require that the sample are sorted? It seems yes, I cannot find it in the documentation

I guess you had a look there:
root.cern.ch/root/html534/TGraphQQ.html
Seems to me it is the more complete doc available.

I am not sure want you mean by sorted, but, if TGraphQQ behaves like a TGraph, yes the order along X matters.

[quote=“couet”]I guess you had a look there:
root.cern.ch/root/html534/TGraphQQ.html
Seems to me it is the more complete doc available.

I am not sure want you mean by sorted, but, if TGraphQQ behaves like a TGraph, yes the order along X matters.[/quote]

Hello, TGraphQQ doesn’t behave like TGraph in the sense that it doesn’t plot the data used as argument, but it plots the quantile-quantile of the input data. Usually to compute quantile you have to sort the data before.

What is not clear is who have to sort the data: the user of TGraphQQ.