#!/usr/bin/python import time from ROOT import * f = TFile("r45275_e266_multiple_mu.root") f.cd() myStyle.cd() c_half = TCanvas('c1','c1',0,0,1400,600) g = central_time_vs_global_wire_number c_half.SetBottomMargin(.16) g.GetXaxis().SetTitleOffset(1.) g.GetYaxis().SetTitleOffset(.7) #g.GetYaxis().SetNdivisions(404) for a in [g.GetXaxis(),g.GetYaxis()]: a.SetLabelSize(.07) a.SetTitleSize(.07) g.Draw('AP') try: time.sleep(1E9) except KeyboardInterrupt: pass