Preview:
import matplotlib.pyplot as plt
plt.plot([2,6,11],[4,6,9],"r",label="line one",linewidth=5)
# plt.plot([2,4,5,6,8,9],[4,5,6,7,8,9],"g",label="line two",linewidth=5)
plt.legend()
plt.xlabel("X-Axis---------------------->")
plt.ylabel("Y-Axis-------------------->")
plt.title("Information")
plt.grid(True,color="k")
plt.show()
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter