Error when using the Scale method for TGraph

Hi guys,

checking on the root manual, I saw that the TGraph class has the Scale() method. However, when I try to use it in my code I get the error "‘class TGraph’ has no member named ‘Scale’
ref->Scale(hist4->GetMaximum()/ref_max); // ref was defined wih TGraph
"

Any idea? I’m using root 6.24 on a Virtual Machine

You need ROOT 6.26 or newer.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.