reset set terminal pdf enhanced fsize 10 dashed set output 'powerlaw-pareto.pdf' set autoscale fix # scale axes automatically set xtic auto # set xtics automatically set ytic auto # set ytics automatically unset key set xlabel 'Rank' set ylabel 'Probability Density Function (PDF)' set key top right plot "-" title 'Pareto (k=1)' with lines linewidth 3 linecolor -1, "-" title '80% of the weight' with filledcurves x1 linecolor 7, "-" title '20% of the weight' with filledcurves x1 1.0000 1.0000 1.1000 0.8264 1.2000 0.6944 1.3000 0.5917 1.4000 0.5102 1.5000 0.4444 1.6000 0.3906 1.7000 0.3460 1.8000 0.3086 1.9000 0.2770 2.0000 0.2500 2.1000 0.2268 2.2000 0.2066 2.3000 0.1890 2.4000 0.1736 2.5000 0.1600 2.6000 0.1479 2.7000 0.1372 2.8000 0.1276 2.9000 0.1189 3.0000 0.1111 3.1000 0.1041 3.2000 0.0977 3.3000 0.0918 3.4000 0.0865 3.5000 0.0816 3.6000 0.0772 3.7000 0.0730 3.8000 0.0693 3.9000 0.0657 4.0000 0.0625 4.1000 0.0595 4.2000 0.0567 4.3000 0.0541 4.4000 0.0517 4.5000 0.0494 4.6000 0.0473 4.7000 0.0453 4.8000 0.0434 4.9000 0.0416 5.0000 0.0400 5.1000 0.0384 5.2000 0.0370 5.3000 0.0356 5.4000 0.0343 5.5000 0.0331 5.6000 0.0319 5.7000 0.0308 5.8000 0.0297 5.9000 0.0287 6.0000 0.0278 6.1000 0.0269 6.2000 0.0260 6.3000 0.0252 6.4000 0.0244 6.5000 0.0237 6.6000 0.0230 6.7000 0.0223 6.8000 0.0216 6.9000 0.0210 7.0000 0.0204 7.1000 0.0198 7.2000 0.0193 7.3000 0.0188 7.4000 0.0183 7.5000 0.0178 7.6000 0.0173 7.7000 0.0169 7.8000 0.0164 7.9000 0.0160 8.0000 0.0156 8.1000 0.0152 8.2000 0.0149 8.3000 0.0145 8.4000 0.0142 8.5000 0.0138 8.6000 0.0135 8.7000 0.0132 8.8000 0.0129 8.9000 0.0126 9.0000 0.0123 9.1000 0.0121 9.2000 0.0118 9.3000 0.0116 9.4000 0.0113 9.5000 0.0111 9.6000 0.0109 9.7000 0.0106 9.8000 0.0104 9.9000 0.0102 10.0000 0.0100 e 1.0000 1.0000 1.1000 0.8264 1.2000 0.6944 1.3000 0.5917 1.4000 0.5102 1.5000 0.4444 1.6000 0.3906 1.7000 0.3460 1.8000 0.3086 1.9000 0.2770 2.0000 0.2500 2.1000 0.2268 2.2000 0.2066 2.3000 0.1890 2.4000 0.1736 2.5000 0.1600 2.6000 0.1479 2.7000 0.1372 2.8000 0.1276 e 2.8000 0.1276 2.9000 0.1189 3.0000 0.1111 3.1000 0.1041 3.2000 0.0977 3.3000 0.0918 3.4000 0.0865 3.5000 0.0816 3.6000 0.0772 3.7000 0.0730 3.8000 0.0693 3.9000 0.0657 4.0000 0.0625 4.1000 0.0595 4.2000 0.0567 4.3000 0.0541 4.4000 0.0517 4.5000 0.0494 4.6000 0.0473 4.7000 0.0453 4.8000 0.0434 4.9000 0.0416 5.0000 0.0400 5.1000 0.0384 5.2000 0.0370 5.3000 0.0356 5.4000 0.0343 5.5000 0.0331 5.6000 0.0319 5.7000 0.0308 5.8000 0.0297 5.9000 0.0287 6.0000 0.0278 6.1000 0.0269 6.2000 0.0260 6.3000 0.0252 6.4000 0.0244 6.5000 0.0237 6.6000 0.0230 6.7000 0.0223 6.8000 0.0216 6.9000 0.0210 7.0000 0.0204 7.1000 0.0198 7.2000 0.0193 7.3000 0.0188 7.4000 0.0183 7.5000 0.0178 7.6000 0.0173 7.7000 0.0169 7.8000 0.0164 7.9000 0.0160 8.0000 0.0156 8.1000 0.0152 8.2000 0.0149 8.3000 0.0145 8.4000 0.0142 8.5000 0.0138 8.6000 0.0135 8.7000 0.0132 8.8000 0.0129 8.9000 0.0126 9.0000 0.0123 9.1000 0.0121 9.2000 0.0118 9.3000 0.0116 9.4000 0.0113 9.5000 0.0111 9.6000 0.0109 9.7000 0.0106 9.8000 0.0104 9.9000 0.0102 10.0000 0.0100 e set output