#!/usr/bin/python import time from ROOT import * f = TFile("resid_vs_t.root") f.cd() myStyle.cd() c_quarter = TCanvas('c1','c1',0,0,1400,300) g = resid_vs_t c_quarter.SetBottomMargin(.25) g.GetXaxis().SetTitleOffset(1.) g.GetYaxis().SetTitleOffset(.5) g.GetYaxis().SetNdivisions(404) for a in [g.GetXaxis(),g.GetYaxis()]: a.SetLabelSize(.1) a.SetTitleSize(.09) resid_vs_t.Draw("AP") try: time.sleep(1E9) except KeyboardInterrupt: pass