Commit cae261e1 authored by himyss's avatar himyss

added

parent 54699cbd
This diff is collapsed.
This diff is collapsed.
File added
{
TFile *f = new TFile("myGraph.root");
TGraph *myGraph = (TGraph*)f->Get("Graph");
for (int i = 0; i < myGraph->GetN(); i++) {
cout << "{" << *(myGraph->GetX()+i) << "," << *(myGraph->GetY()+i) << "}, ";
}
// myGraph->Draw();
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment