Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plot
- #mtn
- count_mtn_list = getCount('mtn')#returns list of mtn numbers
- #utl
- count_utl_list = getCount('utl')#returns list of utl numbers
- #warid
- count_warid_list = getCount('warid')#returns list of warid numbers
- #x values
- dates_list = getDatesList('')#it doesn't matter which network here
- x = range(len(dates_list))
- fig = plot.figure()
- ax1 = fig.add_subplot(211)
- ax1.plot(x, count_mtn_list, color='red')
- ax2 = fig.add_subplot(212)
- ax2.plot(x, count_utl_list, color='blue')
- ax3 = fig.add_subplot(213)
- ax3.plot(x, count_warid_list, color='green')
- filename = "/home/oquidave/work/scripts/mt_revenue.png"
- plot.savefig(filename)
- plot.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement