void Vectors() { //=========Macro generated from canvas: Canvas_1/Canvas_1 //========= (Fri Dec 21 11:29:30 2018) by ROOT version6.05/02 TCanvas *Canvas_1 = new TCanvas("Canvas_1", "Canvas_1",513,335,959,537); Canvas_1->Range(0,0,1,1); Canvas_1->SetFillColor(0); Canvas_1->SetBorderMode(0); Canvas_1->SetBorderSize(2); Canvas_1->SetFrameBorderMode(0); TArrow *arrow = new TArrow(0.07105538,0.5088106,0.2330199,0.6145374,0.02,"->-"); arrow->SetFillColor(1); arrow->SetFillStyle(1001); arrow->SetLineWidth(2); arrow->Draw(); TLine *line = new TLine(0.2330199,0.6145374,0.3866249,0.7136564); line->SetLineStyle(2); line->SetLineWidth(2); line->Draw(); arrow = new TArrow(0.2361546,0.6189427,0.3584117,0.8722467,0.02,">"); arrow->SetFillColor(1); arrow->SetFillStyle(1001); arrow->SetLineWidth(2); arrow->Draw(); arrow = new TArrow(0.2340648,0.6145374,0.4127482,0.4933921,0.02,">"); arrow->SetFillColor(1); arrow->SetFillStyle(1001); arrow->SetLineWidth(2); arrow->Draw(); TEllipse *arc = new TEllipse(0.2967607,0.6742268,0.04,0.08,10,80); arc->SetNoEdges(); arc->Draw(); TLatex * tex = new TLatex(0.1107628,0.6145374,"P_{\\pi^0}"); tex->SetTextSize(0.05286344); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3458725,0.7445415,"\\theta"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.2643678,0.7838428,"P^{1}_{\\gamma}"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3343783,0.580786,"P^{2}_{\\gamma}"); tex->SetLineWidth(2); tex->Draw(); Canvas_1->Modified(); Canvas_1->cd(); Canvas_1->SetSelected(Canvas_1); Canvas_1->ToggleToolBar(); Canvas_1->SaveAs("Vectors.pdf"); }