void closure_2jets_HT() { //=========Macro generated from canvas: finalPlots/closure_2jets_HT/finalPlots/closure_2jets_HT //========= (Fri Apr 15 17:48:19 2016) by ROOT version6.02/05 TCanvas *finalPlots/closure_2jets_HT = new TCanvas("finalPlots/closure_2jets_HT", "finalPlots/closure_2jets_HT",0,0,600,600); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); finalPlots/closure_2jets_HT->SetHighLightColor(2); finalPlots/closure_2jets_HT->Range(0,0,1,1); finalPlots/closure_2jets_HT->SetFillColor(0); finalPlots/closure_2jets_HT->SetBorderMode(0); finalPlots/closure_2jets_HT->SetBorderSize(2); finalPlots/closure_2jets_HT->SetTickx(1); finalPlots/closure_2jets_HT->SetTicky(1); finalPlots/closure_2jets_HT->SetLeftMargin(0.13); finalPlots/closure_2jets_HT->SetRightMargin(0.05); finalPlots/closure_2jets_HT->SetTopMargin(0.08); finalPlots/closure_2jets_HT->SetBottomMargin(0.13); finalPlots/closure_2jets_HT->SetFrameFillStyle(0); finalPlots/closure_2jets_HT->SetFrameBorderMode(0); // ------------>Primitives in pad: pad1 TPad *pad1 = new TPad("pad1", "pad1",0,0.25,1,1); pad1->Draw(); pad1->cd(); pad1->Range(-49.46341,-3.873849,331.0244,5.308327); pad1->SetFillColor(0); pad1->SetBorderMode(0); pad1->SetBorderSize(2); pad1->SetLogy(); pad1->SetTickx(1); pad1->SetTicky(1); pad1->SetLeftMargin(0.13); pad1->SetRightMargin(0.05); pad1->SetTopMargin(0.08); pad1->SetFrameFillStyle(0); pad1->SetFrameBorderMode(0); pad1->SetFrameFillStyle(0); pad1->SetFrameBorderMode(0); TH1F *dy2jetsHTSFCentral_pos19 = new TH1F("dy2jetsHTSFCentral_pos19","",26,0,312); dy2jetsHTSFCentral_pos19->SetBinContent(1,19660.55); dy2jetsHTSFCentral_pos19->SetBinContent(2,11941.32); dy2jetsHTSFCentral_pos19->SetBinContent(3,5091.981); dy2jetsHTSFCentral_pos19->SetBinContent(4,1677.411); dy2jetsHTSFCentral_pos19->SetBinContent(5,478.9603); dy2jetsHTSFCentral_pos19->SetBinContent(6,130.4323); dy2jetsHTSFCentral_pos19->SetBinContent(7,41.20777); dy2jetsHTSFCentral_pos19->SetBinContent(8,13.92407); dy2jetsHTSFCentral_pos19->SetBinContent(9,6.879413); dy2jetsHTSFCentral_pos19->SetBinContent(10,3.379606); dy2jetsHTSFCentral_pos19->SetBinContent(11,2.057235); dy2jetsHTSFCentral_pos19->SetBinContent(12,0.8514364); dy2jetsHTSFCentral_pos19->SetBinContent(13,0.5690415); dy2jetsHTSFCentral_pos19->SetBinContent(14,0.7644318); dy2jetsHTSFCentral_pos19->SetBinContent(15,0.3611293); dy2jetsHTSFCentral_pos19->SetBinContent(16,0.2411678); dy2jetsHTSFCentral_pos19->SetBinContent(17,0.1204867); dy2jetsHTSFCentral_pos19->SetBinContent(18,0.1078148); dy2jetsHTSFCentral_pos19->SetBinContent(19,0.01574318); dy2jetsHTSFCentral_pos19->SetBinContent(20,0.2739933); dy2jetsHTSFCentral_pos19->SetBinContent(21,0.08707958); dy2jetsHTSFCentral_pos19->SetBinContent(22,0.05323108); dy2jetsHTSFCentral_pos19->SetBinContent(23,0.02063089); dy2jetsHTSFCentral_pos19->SetBinContent(24,0.03315664); dy2jetsHTSFCentral_pos19->SetBinContent(26,0.5088636); dy2jetsHTSFCentral_pos19->SetBinError(1,118.4438); dy2jetsHTSFCentral_pos19->SetBinError(2,85.10734); dy2jetsHTSFCentral_pos19->SetBinError(3,52.1781); dy2jetsHTSFCentral_pos19->SetBinError(4,29.22726); dy2jetsHTSFCentral_pos19->SetBinError(5,12.72915); dy2jetsHTSFCentral_pos19->SetBinError(6,5.847157); dy2jetsHTSFCentral_pos19->SetBinError(7,2.629162); dy2jetsHTSFCentral_pos19->SetBinError(8,1.268436); dy2jetsHTSFCentral_pos19->SetBinError(9,0.819642); dy2jetsHTSFCentral_pos19->SetBinError(10,0.4260341); dy2jetsHTSFCentral_pos19->SetBinError(11,0.2320697); dy2jetsHTSFCentral_pos19->SetBinError(12,0.146952); dy2jetsHTSFCentral_pos19->SetBinError(13,0.09911924); dy2jetsHTSFCentral_pos19->SetBinError(14,0.2964894); dy2jetsHTSFCentral_pos19->SetBinError(15,0.08027334); dy2jetsHTSFCentral_pos19->SetBinError(16,0.07497914); dy2jetsHTSFCentral_pos19->SetBinError(17,0.04556877); dy2jetsHTSFCentral_pos19->SetBinError(18,0.03939548); dy2jetsHTSFCentral_pos19->SetBinError(19,0.01352806); dy2jetsHTSFCentral_pos19->SetBinError(20,0.18619); dy2jetsHTSFCentral_pos19->SetBinError(21,0.03885697); dy2jetsHTSFCentral_pos19->SetBinError(22,0.03077785); dy2jetsHTSFCentral_pos19->SetBinError(23,0.02055985); dy2jetsHTSFCentral_pos19->SetBinError(24,0.03315664); dy2jetsHTSFCentral_pos19->SetBinError(26,0.3504714); dy2jetsHTSFCentral_pos19->SetEntries(61030.47); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff0000"); dy2jetsHTSFCentral_pos19->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); dy2jetsHTSFCentral_pos19->SetMarkerColor(ci); dy2jetsHTSFCentral_pos19->SetMarkerStyle(20); dy2jetsHTSFCentral_pos19->GetXaxis()->SetTitle("JZB [GeV]"); dy2jetsHTSFCentral_pos19->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos19->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos19->GetXaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos19->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos19->GetYaxis()->SetTitle("Events / 12 GeV"); dy2jetsHTSFCentral_pos19->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos19->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos19->GetYaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos19->GetYaxis()->SetTitleOffset(1.1); dy2jetsHTSFCentral_pos19->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos19->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_pos19->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_pos19->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_pos19->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_pos19->Draw("E,"); TH1F *dy2jetsHTSFCentral_neg20 = new TH1F("dy2jetsHTSFCentral_neg20","",26,0,312); dy2jetsHTSFCentral_neg20->SetBinContent(1,20035.67); dy2jetsHTSFCentral_neg20->SetBinContent(2,12051.88); dy2jetsHTSFCentral_neg20->SetBinContent(3,4743.011); dy2jetsHTSFCentral_neg20->SetBinContent(4,1430.241); dy2jetsHTSFCentral_neg20->SetBinContent(5,405.9832); dy2jetsHTSFCentral_neg20->SetBinContent(6,109.8311); dy2jetsHTSFCentral_neg20->SetBinContent(7,41.01239); dy2jetsHTSFCentral_neg20->SetBinContent(8,16.89967); dy2jetsHTSFCentral_neg20->SetBinContent(9,9.479765); dy2jetsHTSFCentral_neg20->SetBinContent(10,5.940742); dy2jetsHTSFCentral_neg20->SetBinContent(11,2.709236); dy2jetsHTSFCentral_neg20->SetBinContent(12,1.068008); dy2jetsHTSFCentral_neg20->SetBinContent(13,1.135637); dy2jetsHTSFCentral_neg20->SetBinContent(14,0.9272057); dy2jetsHTSFCentral_neg20->SetBinContent(15,0.5754197); dy2jetsHTSFCentral_neg20->SetBinContent(16,0.2275677); dy2jetsHTSFCentral_neg20->SetBinContent(17,0.3557072); dy2jetsHTSFCentral_neg20->SetBinContent(18,0.1260216); dy2jetsHTSFCentral_neg20->SetBinContent(19,0.2272937); dy2jetsHTSFCentral_neg20->SetBinContent(20,0.209355); dy2jetsHTSFCentral_neg20->SetBinContent(21,0.04391384); dy2jetsHTSFCentral_neg20->SetBinContent(22,0.06873953); dy2jetsHTSFCentral_neg20->SetBinContent(23,0.05543267); dy2jetsHTSFCentral_neg20->SetBinContent(24,0.01830363); dy2jetsHTSFCentral_neg20->SetBinContent(25,0.0441552); dy2jetsHTSFCentral_neg20->SetBinContent(26,0.1021344); dy2jetsHTSFCentral_neg20->SetBinError(1,124.8883); dy2jetsHTSFCentral_neg20->SetBinError(2,92.55037); dy2jetsHTSFCentral_neg20->SetBinError(3,53.2892); dy2jetsHTSFCentral_neg20->SetBinError(4,26.02808); dy2jetsHTSFCentral_neg20->SetBinError(5,11.07934); dy2jetsHTSFCentral_neg20->SetBinError(6,5.238826); dy2jetsHTSFCentral_neg20->SetBinError(7,3.063998); dy2jetsHTSFCentral_neg20->SetBinError(8,1.780893); dy2jetsHTSFCentral_neg20->SetBinError(9,1.530052); dy2jetsHTSFCentral_neg20->SetBinError(10,0.9942329); dy2jetsHTSFCentral_neg20->SetBinError(11,0.6565811); dy2jetsHTSFCentral_neg20->SetBinError(12,0.1795405); dy2jetsHTSFCentral_neg20->SetBinError(13,0.4100621); dy2jetsHTSFCentral_neg20->SetBinError(14,0.4236234); dy2jetsHTSFCentral_neg20->SetBinError(15,0.1285192); dy2jetsHTSFCentral_neg20->SetBinError(16,0.0866252); dy2jetsHTSFCentral_neg20->SetBinError(17,0.2700177); dy2jetsHTSFCentral_neg20->SetBinError(18,0.06054101); dy2jetsHTSFCentral_neg20->SetBinError(19,0.08619904); dy2jetsHTSFCentral_neg20->SetBinError(20,0.07207671); dy2jetsHTSFCentral_neg20->SetBinError(21,0.04391384); dy2jetsHTSFCentral_neg20->SetBinError(22,0.04683936); dy2jetsHTSFCentral_neg20->SetBinError(23,0.04490939); dy2jetsHTSFCentral_neg20->SetBinError(24,0.01376823); dy2jetsHTSFCentral_neg20->SetBinError(25,0.02650984); dy2jetsHTSFCentral_neg20->SetBinError(26,0.04042811); dy2jetsHTSFCentral_neg20->SetEntries(54304.32); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg20->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg20->SetMarkerColor(ci); dy2jetsHTSFCentral_neg20->SetMarkerStyle(20); dy2jetsHTSFCentral_neg20->GetXaxis()->SetTitle("JZB [GeV]"); dy2jetsHTSFCentral_neg20->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg20->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg20->GetXaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg20->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg20->GetYaxis()->SetTitle("Events / 12 GeV"); dy2jetsHTSFCentral_neg20->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg20->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg20->GetYaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg20->GetYaxis()->SetTitleOffset(1.1); dy2jetsHTSFCentral_neg20->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg20->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg20->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg20->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg20->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg20->Draw("HIST,SAME"); TLegend *leg = new TLegend(0.65,0.5,0.9,0.72,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.04); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(0); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("dy2jetsHTSFCentral_pos","JZB > 0","P"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("dy2jetsHTSFCentral_neg","JZB < 0","L"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TLatex * tex = new TLatex(0.21,0.93,"CMS"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.33,0.93,"Simulation"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetTextSize(0.03); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.9,0.93,"2.3 fb^{-1} (13 TeV)"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pad1->Modified(); finalPlots/closure_2jets_HT->cd(); // ------------>Primitives in pad: pad2 TPad *pad2 = new TPad("pad2", "pad2",0,0.05,1,0.25); pad2->Draw(); pad2->cd(); pad2->Range(-49.46341,-1,331.0244,2.333333); pad2->SetFillColor(0); pad2->SetBorderMode(0); pad2->SetBorderSize(2); pad2->SetTickx(1); pad2->SetTicky(1); pad2->SetLeftMargin(0.13); pad2->SetRightMargin(0.05); pad2->SetBottomMargin(0.3); pad2->SetFrameFillStyle(0); pad2->SetFrameBorderMode(0); pad2->SetFrameFillStyle(0); pad2->SetFrameBorderMode(0); TH1F *dy2jetsHTSFCentral_neg_ratio21 = new TH1F("dy2jetsHTSFCentral_neg_ratio21","",26,0,312); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(1,0.9812772); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(2,0.9908257); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(3,1.073576); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(4,1.172817); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(5,1.179754); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(6,1.187572); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(7,1.004764); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(8,0.8239254); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(9,0.7256944); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(10,0.5688861); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(11,0.7593414); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(12,0.7972189); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(13,0.5010771); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(14,0.8244468); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(15,0.6275928); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(16,1.059763); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(17,0.3387243); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(18,0.8555261); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(19,0.06926361); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(20,1.30875); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(21,1.982964); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(22,0.7743881); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(23,0.3721793); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(24,1.811479); dy2jetsHTSFCentral_neg_ratio21->SetBinContent(26,4.982296); dy2jetsHTSFCentral_neg_ratio21->SetBinError(1,0.008506486); dy2jetsHTSFCentral_neg_ratio21->SetBinError(2,0.01038091); dy2jetsHTSFCentral_neg_ratio21->SetBinError(3,0.01632525); dy2jetsHTSFCentral_neg_ratio21->SetBinError(4,0.02954889); dy2jetsHTSFCentral_neg_ratio21->SetBinError(5,0.04494024); dy2jetsHTSFCentral_neg_ratio21->SetBinError(6,0.07773678); dy2jetsHTSFCentral_neg_ratio21->SetBinError(7,0.09871374); dy2jetsHTSFCentral_neg_ratio21->SetBinError(8,0.1147702); dy2jetsHTSFCentral_neg_ratio21->SetBinError(9,0.1455843); dy2jetsHTSFCentral_neg_ratio21->SetBinError(10,0.1191949); dy2jetsHTSFCentral_neg_ratio21->SetBinError(11,0.202985); dy2jetsHTSFCentral_neg_ratio21->SetBinError(12,0.1920761); dy2jetsHTSFCentral_neg_ratio21->SetBinError(13,0.2008837); dy2jetsHTSFCentral_neg_ratio21->SetBinError(14,0.4940997); dy2jetsHTSFCentral_neg_ratio21->SetBinError(15,0.1977614); dy2jetsHTSFCentral_neg_ratio21->SetBinError(16,0.5208587); dy2jetsHTSFCentral_neg_ratio21->SetBinError(17,0.2872722); dy2jetsHTSFCentral_neg_ratio21->SetBinError(18,0.516374); dy2jetsHTSFCentral_neg_ratio21->SetBinError(19,0.0650567); dy2jetsHTSFCentral_neg_ratio21->SetBinError(20,0.9969771); dy2jetsHTSFCentral_neg_ratio21->SetBinError(21,2.171428); dy2jetsHTSFCentral_neg_ratio21->SetBinError(22,0.6920354); dy2jetsHTSFCentral_neg_ratio21->SetBinError(23,0.4779984); dy2jetsHTSFCentral_neg_ratio21->SetBinError(24,2.266756); dy2jetsHTSFCentral_neg_ratio21->SetBinError(26,3.957829); dy2jetsHTSFCentral_neg_ratio21->SetMinimum(0); dy2jetsHTSFCentral_neg_ratio21->SetMaximum(2); dy2jetsHTSFCentral_neg_ratio21->SetEntries(25.31872); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg_ratio21->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); dy2jetsHTSFCentral_neg_ratio21->SetMarkerColor(ci); dy2jetsHTSFCentral_neg_ratio21->SetMarkerStyle(20); dy2jetsHTSFCentral_neg_ratio21->GetXaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio21->GetXaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio21->GetXaxis()->SetLabelSize(0.12); dy2jetsHTSFCentral_neg_ratio21->GetXaxis()->SetTitleSize(0.14); dy2jetsHTSFCentral_neg_ratio21->GetXaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetTitle("Ratio"); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->CenterTitle(true); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetNdivisions(4); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetLabelSize(0.12); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetTitleSize(0.14); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetTitleOffset(0.3); dy2jetsHTSFCentral_neg_ratio21->GetYaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio21->GetZaxis()->SetLabelFont(42); dy2jetsHTSFCentral_neg_ratio21->GetZaxis()->SetLabelOffset(0.007); dy2jetsHTSFCentral_neg_ratio21->GetZaxis()->SetTitleSize(0.05); dy2jetsHTSFCentral_neg_ratio21->GetZaxis()->SetTitleFont(42); dy2jetsHTSFCentral_neg_ratio21->Draw("l, "); TLine *line = new TLine(0,1,312,1); ci = TColor::GetColor("#666666"); line->SetLineColor(ci); line->Draw(); Double_t Graph0_fx3[4] = { 0, 250, 250, 0}; Double_t Graph0_fy3[4] = { 0.7, 0.7, 1.3, 1.3}; TGraph *graph = new TGraph(4,Graph0_fx3,Graph0_fy3); graph->SetName("Graph0"); graph->SetTitle("Graph"); ci = 1181; color = new TColor(ci, 1, 0, 0, " ", 0.4); graph->SetFillColor(ci); graph->SetMarkerStyle(20); TH1F *Graph_Graph3 = new TH1F("Graph_Graph3","Graph",100,0,275); Graph_Graph3->SetMinimum(0.64); Graph_Graph3->SetMaximum(1.36); Graph_Graph3->SetDirectory(0); Graph_Graph3->SetStats(0); Graph_Graph3->SetMarkerStyle(20); Graph_Graph3->GetXaxis()->SetLabelFont(42); Graph_Graph3->GetXaxis()->SetLabelOffset(0.007); Graph_Graph3->GetXaxis()->SetTitleSize(0.05); Graph_Graph3->GetXaxis()->SetTitleFont(42); Graph_Graph3->GetYaxis()->SetLabelFont(42); Graph_Graph3->GetYaxis()->SetLabelOffset(0.007); Graph_Graph3->GetYaxis()->SetTitleSize(0.05); Graph_Graph3->GetYaxis()->SetTitleOffset(1.1); Graph_Graph3->GetYaxis()->SetTitleFont(42); Graph_Graph3->GetZaxis()->SetLabelFont(42); Graph_Graph3->GetZaxis()->SetLabelOffset(0.007); Graph_Graph3->GetZaxis()->SetTitleSize(0.05); Graph_Graph3->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph3); graph->Draw("f"); pad2->Modified(); finalPlots/closure_2jets_HT->cd(); finalPlots/closure_2jets_HT->Modified(); finalPlots/closure_2jets_HT->cd(); finalPlots/closure_2jets_HT->SetSelected(finalPlots/closure_2jets_HT); }