Upload
megha-kharche
View
3
Download
0
Embed Size (px)
DESCRIPTION
Line Python Program
Citation preview
/* python program to draw line with line styles (thick,Thin,Dotted) */
#!/usr/bin/env python
import matplotlib.pyplot as plt
plt.plot([10, 100],[50,70], color='green', linestyle='solid')plt.plot([20, 80],[100,80], color='green', linestyle='-.')
plt.plot([20,30],[100,200], color='green', linestyle='dashed')
plt.show()