July 2018
Intermediate to advanced
462 pages
12h 2m
English
Create a Python script with the name demoPlotLine.py and write the following code in it:
import matplotlib.pyplot as graphgraph.title('Plotting a Line!')graph.xlabel('x - axis')graph.ylabel('y - axis')x = [10,20,30]y = [20,40,60]graph.plot(x, y)graph.show()
Read now
Unlock full access