{ //=========Macro generated from canvas: c1/c1 //========= (Thu Jul 31 08:53:43 2014) by ROOT version5.32/00 TCanvas *c1 = new TCanvas("c1", "c1",402,155,600,840); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-1.548009e-05,-2.877876e-05,1.24356e-05,2.247788e-05); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.1963087); c1->SetRightMargin(0.08724833); c1->SetTopMargin(0.04834254); c1->SetBottomMargin(0.1712707); c1->SetFrameFillStyle(0); c1->SetFrameBorderMode(0); c1->SetFrameFillStyle(0); c1->SetFrameBorderMode(0); TH2F *h2 = new TH2F("h2","h2",2,-1e-05,1e-05,2,-2e-05,2e-05); Int_t ci; // for color index setting ci = TColor::GetColor("#000099"); h2->SetLineColor(ci); h2->SetLineStyle(0); h2->SetMarkerStyle(20); h2->GetXaxis()->SetTitle("a^{W}_{0}/#Lambda^{2} [GeV^{-2}]"); h2->GetXaxis()->SetLabelFont(42); h2->GetXaxis()->SetLabelOffset(0.007); h2->GetXaxis()->SetLabelSize(0.035); h2->GetXaxis()->SetTitleSize(0.06); h2->GetXaxis()->SetTitleOffset(0.9); h2->GetXaxis()->SetTitleFont(42); h2->GetYaxis()->SetTitle("a^{W}_{c}/#Lambda^{2} [GeV^{-2}]"); h2->GetYaxis()->SetLabelFont(42); h2->GetYaxis()->SetLabelOffset(0.007); h2->GetYaxis()->SetLabelSize(0.035); h2->GetYaxis()->SetTitleSize(0.06); h2->GetYaxis()->SetTitleOffset(1.5); 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 *ellipse = new TEllipse(0,0,2.2e-06,1e-05,0,360,14); ellipse->SetFillStyle(0); ellipse->SetLineColor(2); ellipse->SetLineStyle(3); ellipse->SetLineWidth(3); ellipse->Draw(); ellipse = new TEllipse(9.913899e-13,6.228895e-08,3e-06,1.5e-05,0,360,14); ellipse->SetFillStyle(0); ellipse->SetLineColor(4); ellipse->SetLineStyle(2); ellipse->SetLineWidth(3); ellipse->Draw(); TLegend *leg = new TLegend(0.2097315,0.182398,0.5704698,0.3418367,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetLineColor(0); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("TEllipse","100fb^{-1}, 13 TeV, #sigma=10 ps","lpf"); entry->SetLineColor(2); entry->SetLineStyle(3); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry=leg->AddEntry("TEllipse","100fb^{-1}, 13 TeV, #sigma=30 ps","lpf"); entry->SetLineColor(4); entry->SetLineStyle(2); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); leg->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); c1->ToggleToolBar(); }