{ //=========Macro generated from canvas: c1/c1 //========= (Wed Jul 30 09:10:08 2014) by ROOT version5.32/00 TCanvas *c1 = new TCanvas("c1", "c1",394,121,600,720); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-2.659529e-05,-2.636943e-05,2.445396e-05,2.237792e-05); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.1291946); c1->SetRightMargin(0.08724833); c1->SetTopMargin(0.04878049); c1->SetBottomMargin(0.130662); c1->SetFrameFillStyle(0); c1->SetFrameBorderMode(0); c1->SetFrameFillStyle(0); c1->SetFrameBorderMode(0); TH2F *h2 = new TH2F("h2","h2",2,-2e-05,2e-05,2,-4e-05,4e-05); // TH2F *h2 = new TH2F("h2","h2",2,-2e-05,2e-05,2,-2e-05,2e-05); // TH2F *h2 = new TH2F("h2","h2",2,-0.00085,0.00085,2,-0.002,0.002); Int_t ci; // for color index setting ci = TColor::GetColor("#000099"); h2->SetLineColor(ci); h2->SetLineStyle(0); h2->SetMarkerStyle(20); h2->GetXaxis()->SetTitle("a^{0}_{W}/#Lambda^{2} [GeV^{-2}]"); h2->GetXaxis()->SetLabelFont(42); h2->GetXaxis()->SetLabelOffset(0.007); h2->GetXaxis()->SetTitleSize(0.06); h2->GetXaxis()->SetTitleOffset(0.9); h2->GetXaxis()->SetTitleFont(42); h2->GetYaxis()->SetTitle("a^{c}_{W}/#Lambda^{2} [GeV^{-2}]"); h2->GetYaxis()->SetLabelFont(42); h2->GetYaxis()->SetLabelOffset(0.007); h2->GetYaxis()->SetTitleSize(0.06); h2->GetYaxis()->SetTitleFont(42); h2->GetZaxis()->SetLabelFont(42); h2->GetZaxis()->SetLabelOffset(0.007); h2->GetZaxis()->SetLabelSize(0.05); h2->GetZaxis()->SetTitleSize(0.06); h2->GetZaxis()->SetTitleFont(42); h2->Draw(""); TEllipse *ellipse1 = new TEllipse(0,0,2.2e-06,1e-05,0,360,14); ellipse1->SetFillStyle(0); ellipse1->SetLineColor(2); ellipse1->SetLineStyle(3); ellipse1->SetLineWidth(5); ellipse1->Draw(); TEllipse *ellipse2 = new TEllipse(9.913899e-13,6.228895e-08,3e-06,1.5e-05,0,360,14); ellipse2->SetFillStyle(0); ellipse2->SetLineColor(4); ellipse2->SetLineStyle(2); ellipse2->SetLineWidth(5); ellipse2->Draw(); TLegend *leg = new TLegend(0.6,0.6,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetLineColor(0); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->AddEntry(ellipse1,"100fb^{-1}, 13 TeV, #sigma=10 ps","lf"); leg->AddEntry(ellipse2,"100fb^{-1}, 13 TeV, #sigma=30 ps","lf"); leg->Draw("same"); c1->Modified(); c1->cd(); c1->SetSelected(c1); c1->ToggleToolBar(); }