How To Draw A Curve Using PyLab

PyLab is a drawing library interface for Matplotlib, and its syntax is very similar to that of MATLAB. It can be used together with the PyPlot module to implement the drawing function of Matplotlib. PyLab is a separate module that is installed with the Matplotlib package.