im po rt im po rt numpy np xstart np increment np xstop np plt plot ( yplt xlabel ' plt ylabel ' show this gives the following plot (see figure )if you want grids you can use the grid(function [end of examplesubplots the subplot command enables you to display multiple plots in the same window typing "subplot( , , )partitions the figure window into an -by- matrix of small subplots and selects the subplot for the current plot the plots are numbered along the first row of the figure windowthen the second rowand so on see figure example creating subplots