Basic Plotting With Python And Matplotlib

import matplotlib.pyplot as plt #import the Python Matplotlib sub-module for graph plotting pyplot. x = [1,2,3,4] # x axis y = [1,2,3,4] # y axis plt.plot (x,y)# plotting the graph plt.show #Displaying the figures The above code is very basic and simple example of Line Plotting.Below is the definition of each line code. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download