Vertical and horizontal lines using matplotlib in python

import as plt x = [1,2,3,4,5,6,7,8,9,10] y = [1,3,2,5,4,7,6,9,8,10] l = [2,4,8] (x,y) (5,color=’red’,linestyle=’dashed’,linewidth=4) (3,c=’b’,ls=’:’,lw=3) (l,ymin=1,ymax=10) ([5,7,8],xmin=1,xmax=10,color=’g’,linestyle=’-.’,lw=2) (1,10) (1,10) () #
Back to Top