#NEWLINE# def MakeParetoCdf2( ) : #NEWLINE# #INDENT# 'Generates a plot of the CDF of height in Pareto World.' #NEWLINE# xmin = 100 #NEWLINE# alpha = 1.7 #NEWLINE# ( xs , ps ) = thinkstats2 . RenderParetoCdf ( xmin , alpha , 0 , 1000.0 , n = 100 ) #NEWLINE# thinkplot . Plot ( xs , ps ) #NEWLINE# thinkplot . Save ( root = 'analytic_pareto_height' , title = 'Pareto CDF' , xlabel = 'height (cm)' , ylabel = 'CDF' , legend = False )