3.2 Lets start simple

  • Please note that [ ] denotes a Python list.
#-------------- Lets create some data -------------#
x = [0,1,2,3,4,5]                    
y = [0,2,4,6,8,10]

#------------------- A quick plot -----------------#
plt.plot(x,y)
plt.show()