{ //=========Macro generated from canvas: c1/c1 //========= (Tue Mar 20 19:55:10 2007) by ROOT version5.10/00 TCanvas *c1 = new TCanvas("c1", "c1",15,47,800,600); c1->Range(-6.04926,-11.9619,2.89436,-3.89198); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetLogx(); c1->SetLogy(); c1->SetFrameFillColor(0); TH1 *hframe = new TH1F("hframe","",1000,7e-06,100); hframe->SetMinimum(7e-12); hframe->SetMaximum(2e-05); hframe->SetDirectory(0); hframe->SetStats(0); hframe->GetXaxis()->SetTitle("Probability"); hframe->GetYaxis()->SetTitle("cell energy density per proton J/cm^{3}"); hframe->Draw(" "); TGraph *graph = new TGraph(51); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); graph->SetMarkerStyle(20); graph->SetPoint(0,0.390875,1e-11); graph->SetPoint(1,0.365023,1.2e-11); graph->SetPoint(2,0.340871,1.44e-11); graph->SetPoint(3,0.318307,1.728e-11); graph->SetPoint(4,0.297225,2.0736e-11); graph->SetPoint(5,0.277527,2.48832e-11); graph->SetPoint(6,0.25912,2.98598e-11); graph->SetPoint(7,0.241918,3.58318e-11); graph->SetPoint(8,0.22584,4.29982e-11); graph->SetPoint(9,0.210811,5.15978e-11); graph->SetPoint(10,0.196759,6.19174e-11); graph->SetPoint(11,0.183619,7.43008e-11); graph->SetPoint(12,0.171328,8.9161e-11); graph->SetPoint(13,0.159828,1.06993e-10); graph->SetPoint(14,0.149065,1.28392e-10); graph->SetPoint(15,0.138988,1.5407e-10); graph->SetPoint(16,0.129547,1.84884e-10); graph->SetPoint(17,0.120698,2.21861e-10); graph->SetPoint(18,0.112399,2.66233e-10); graph->SetPoint(19,0.104609,3.1948e-10); graph->SetPoint(20,0.0972894,3.83376e-10); graph->SetPoint(21,0.0904057,4.60051e-10); graph->SetPoint(22,0.0839235,5.52061e-10); graph->SetPoint(23,0.0778111,6.62474e-10); graph->SetPoint(24,0.0720383,7.94968e-10); graph->SetPoint(25,0.0665766,9.53962e-10); graph->SetPoint(26,0.0613993,1.14475e-09); graph->SetPoint(27,0.0564815,1.37371e-09); graph->SetPoint(28,0.0518,1.64845e-09); graph->SetPoint(29,0.0473336,1.97814e-09); graph->SetPoint(30,0.0430635,2.37376e-09); graph->SetPoint(31,0.0389736,2.84852e-09); graph->SetPoint(32,0.0350505,3.41822e-09); graph->SetPoint(33,0.031285,4.10186e-09); graph->SetPoint(34,0.0276719,4.92224e-09); graph->SetPoint(35,0.024211,5.90668e-09); graph->SetPoint(36,0.0209081,7.08802e-09); graph->SetPoint(37,0.017775,8.50562e-09); graph->SetPoint(38,0.0148298,1.02067e-08); graph->SetPoint(39,0.0120964,1.22481e-08); graph->SetPoint(40,0.0096032,1.46977e-08); graph->SetPoint(41,0.00738005,1.76373e-08); graph->SetPoint(42,0.0054546,2.11647e-08); graph->SetPoint(43,0.00384716,2.53977e-08); graph->SetPoint(44,0.00256522,3.04772e-08); graph->SetPoint(45,0.00159896,3.65726e-08); graph->SetPoint(46,0.000919233,4.38871e-08); graph->SetPoint(47,0.000479583,5.26646e-08); graph->SetPoint(48,0.000222701,6.31975e-08); graph->SetPoint(49,8.99255e-05,7.5837e-08); graph->SetPoint(50,3.0705e-05,9.10044e-08); graph->Draw("lp"); c1->Modified(); c1->cd(); c1->SetSelected(c1); }