TCanvas *can_core= new TCanvas("can_core","Distribution of Shower Core locations",200,10,700,500);
//can_core->SetFillColor(42);
//can_core->SetGrid();
TH1F * hr_core=can_core->DrawFrame(0,0,100,100,"Distribution of Shower Core locations");
hr_core->SetXTitle("X(km)");
hr_core->SetYTitle("Y(km)");
没有评论:
发表评论