14 gStyle->SetPalette(1);
15 gROOT->SetStyle(
"Plain");
16 gStyle->SetOptStat(000000);
18 c1 =
new TCanvas (
"c1",
"",60,60,500,500);
21 FILE *
fp = fopen(
"s.txt",
"r");
27 TNtuple *
ntuple =
new TNtuple(
"ntuple",
"s",
"radius:E:s:ss");
30 ncols = fscanf(fp,
"%f %f %f %f",&radius,&E,&s,&ss);
32 ntuple->Fill(radius,E,s,ss);
41 TH2F *
h2 =
new TH2F (
"h2",
"",2,99.999,1e4,2,1e2,1e4);
43 ntuple->SetMarkerStyle(20);
44 ntuple->SetMarkerSize(1.);
45 ntuple->Draw(
"s:E",
"",
"LPsame");
47 h2->GetXaxis()->SetLabelSize(0.025);
48 h2->GetYaxis()->SetLabelSize(0.025);
49 h2->GetXaxis()->SetTitleSize(0.035);
50 h2->GetYaxis()->SetTitleSize(0.035);
51 h2->GetXaxis()->SetTitleOffset(1.4);
52 h2->GetYaxis()->SetTitleOffset(1.4);
53 h2->GetXaxis()->SetTitle(
"E (eV)");
54 h2->GetYaxis()->SetTitle(
"S (Gy/Bq.s)");