void histdrawbug() { // Setting frame line width to 1 prevents the leftmost vertical line // from being drawn over the ordinate gStyle->SetFrameLineWidth(2); TH1F* h=new TH1F("foo", "bar", 10,0,10); h->SetLineColor(kRed); h->FillRandom("gaus", 1000); h->Draw(); }