import numpy as np
from matplotlib import pyplot as plt
import pylab as pl
x1 = [30.89, 17.24, 13.82, 13.00, 12.47] # Make x, y arrays for each graph
y1 = [47.769, 46.055, 44.176, 41.844, 39.476]
x2 = [29.21, 16.76, 13.70, 13.02, 12.21]
y2 = [47.761, 46.02, 44.096, 41.744, 39.359]
(x1, y1, 'r', label='original') # use pylab to plot x and y : Give your plots names
(x2, y2, 'g', label='optimization')
('P-T') # give plot a title
('TIME') # make axis labels
('G_PSNR')
(10.0, 35.0) # set axis limits
(35.0, 50.0)
()
() # show the plot on the screen