void evolution() { Float_t omega, r, n=6, erro, omegaISO, erroISO; Int_t a, cont=0; Float_t x[6] = {2.0, 4.0, 6.0, 8.0, 10.0, 12.0}; Float_t ex[6] = {0, 0, 0, 0, 0, 0}; Float_t xISO[6] = {2.0, 4.0, 6.0, 8.0, 10.0, 12.0}; Float_t exISO[6] = {0, 0, 0, 0, 0, 0}; Float_t y[6] = {0.990574, 0.345425, 0.225380, 0.187156, 0.162945, 0.149660}; Float_t ey[6] = {1.746735, 0.896797, 0.645663, 0.535057, 0.473232, 0.437163}; Float_t yISO[6] = {1.740580, 0.619498, 0.356679, 0.263114, 0.220569, 0.199252}; Float_t eyISO[6] = {2.397627, 1.250775, 0.856332, 0.676037, 0.581200, 0.525240}; TGraphErrors* gr = new TGraphErrors(n,x,y, ex, ey); //gr->SetTitle(""); gr->SetMarkerSize(0.75); gr->SetFillColor(42); //gr->Draw("AP"); gr->SetMarkerStyle(21); gr->SetMarkerColor(2); TGraphErrors* gr2 = new TGraphErrors(n,xISO,yISO, exISO, eyISO); gr2->GetYaxis()->SetTitleOffset(0.9); gr2->SetTitle(""); gr2->SetMarkerSize(0.75); gr2->GetXaxis()->SetTitle("#alpha (degree)"); gr2->GetYaxis()->SetTitle("#Omega"); gr2->SetFillColor(42); //gr2->Draw("a3"); //gr2->SetLineWidth(1); gr2->SetMarkerStyle(21); gr2->SetMarkerColor(2); TMultiGraph *mg = new TMultiGraph(); mg->SetTitle(""); mg->Add(gr,"AP"); mg->Add(gr2,"a3"); mg->Draw(); }//fecha o programa