Simple python script using matplotlib library. About the script1.1:- (i)It plots an array of points. (ii). It treats each index as x and the value of the array at that index as f(x) (which is y), and plots it in the cartesian plain.
About script1.2:- (i).It takes two arrays as arguments. (ii). Plots the graph with values of y and x coming from first and the second array respectively.