void Plot() { gROOT->Reset(); TH1F *h = new TH1F("h", "h", 100, 0, 10); TCanvas *c = new TCanvas("c", "c", 700, 500); c->SetFillColor(41); c->cd(); h->GetXaxis()->SetAxisColor(4); h->GetYaxis()->SetAxisColor(4); h->Draw(); }