Lab: Plotting with matplotlib

#changethey-axistolog-scale pylab.yscale(’log’) #displaytheplot: pylab.show() You can also use the savefig function to save gures. These gures can be .png, .pdf, or other types of les (matplotlib will automatically determine this when you give it a .png or .pdf le name!): importpylab pylab.figure(1) #makedata x =range(10) y = [ 2 ... ................
................