TGraphPolar Inconsistency

Hi, the TGraphPolar parameter names (x and y) make it sound like you need to put in arrays of x(theta), y(theta), but reading the documentation confuses things:

http://root.cern.ch/root/html/TGraphPolar.html#TGraphPolar:TGraphPolar@1

Is x = theta, y = r? If so, why don’t we use those names for the parameters? It’s not like we’re forced to use the letters X and Y.

Also, compared to TGraph(Errors), TGraphPolar seems to be missing several convenient constructors like from TVectorD, std::vector, and TF1, but that’s not a documentation issue.

Jean-François

Now fixed. The variables’ names in the header file were those displayed on the web page. The variable name in the .cxx file were correct though.