Python畫直方圖以及包絡線和參考線
資料如下:
668.8
604.8
1174
1453.4
1222.1
1481.8
940.5
953.4
1302.2
638.7
973.9
1114.8
1739.7
1128.7
1729
524.6
597.8
190.4
761.4
604.2
1040.7
688.6
569.3
1049.32
483
1708.6
478.1
1470.5
1332.9
1335.2
1407.1
428.3
878.1
2504.4
1857.5
996
2227.8
974.7
1077.7
794
1715
1782.68
1314
1446.6
3682.5
1232.7
1137.5
1499.3
1099.2
1072.5
2702.4
1029.1
1736.2
1456.6
1365.8
4291.4
1888.3
2052.42
1666.2
2153.1
1497.5
175.9
1239.3
605.1
2119.1
2062
1678.99
1250.3
1013.3
550
5312.1
1577.2
2194.6
2066.9
1326.1
815.9
1260.4
1585.96
1077.7
4285.8
2264.3
1605.9
1329.7
975.8
1267.8
1608.8
226.2
1368.1
2067.8
1809.6
1553.4
2606.9
527
38
1890.8
3462.5
1793.7
2168.4
1858.2
1692.4
1087
2730.3
1013.3
3291.9
1884.3
2485.8
1473.1
1732.7
1296.4
1726.7
2524.9
2609.6
2567.8
1070.72
1686.4
1059.6
1681.7
1854.5
2294.8
2189.73
1850
1608.3
2543.4
2698.9
1334.6
2403.5
1617.9
1297.1
1519.8
1852.3
2304.7
1085.3
1431.39
2432.6
2299.71
8747.7
3348.6
1761.8
1067.9
1028.6
2036.4
2227.1
3714
3028.1
1978.08
1913.9
1262.5
1517
1722
1890.7
1769
2644.8
3214.6
2124.72
2622.7
3216.8
3154.2
3932.8
3287
2619
898.5
1909.7
1001.2
1142.1
1940.11
2011.3
1947.18
1970.34
2092.9
2376
3093.8
1401.1
1470.8
1771.2
1797.6
2439.8
921.5
2351.1
2955.5
2133.7
2202.3
3375.3
2078.9
2183.8
2476.1
2614.7
2224.59
1402.5
2922.8
3124.1
2367
2496.3
2917.3
2380.6
890.6
2065.8
3698.1
2469.06
2700
1891.7
2363.9
3837.1
4194.62
1373.4
2582.4
4058.02
3194.43
2392.9
3558.8
2003.6
1251.6
1896.2
2092.2
1349.6
5674.3
3003.31
4014.9
1643.35
958.6
2580.7
1308.29
2844.2
2700.9
2509.7
1133.77
2567.7
2456.1
2631.89
1884.17
2369.96
1277.88
1838.2
1752
3579.17
3975.4
3425.52
1915.8
2845.9
2653.94
196.1
2667.9
4864.1
2672.1
1521.55
2604.14
3356.36
1493.4
4138.7
6042.3
2217.9
2318.6
2227.94
2528
108.3
601
2487.39
1812.4
3181.67
2071.7
1411.7
2185.9
2507
4007.5
3000.14
3242.8
1817.67
3338.48
1488.02
4819.8
2065.3
4317.1
2626.6
2915.1
1151.1
3520.46
4195.4
3066.2
2119.82
2162.3
1711.7
1586
2159.75
1658.4
3966.3
1931.7
3078.45
6153.6
1781.65
2374.65
2029.8
3730.2
2201.65
3063.3
2247.2
5115.49
3648.27
4816.2
2895.8
1444.1
995.5
2778.4
1265
2759.94
4955.6
3394.23
4410.7
6359.74
2687.9
3761.9
496.8
3877.55
3503.9
1706.55
3391.6
2578.4
1986.47
4156.63
2719.7
2315.2
1759.5
3690.8
2097.61
2069.5
3785.55
3907.3
2737.1
1761
2183.59
2528.06
2495.25
1769.88
2805
2418.67
4147.11
4184.2
4330.04
3103.3
3110.53
2912.42
3185.97
2720.15
1590.73
2226.1
5837.22
3107.83
4264.4
1579.79
4399.42
493.8
4372.5
3054.96
5297.5
3203.3
2590.69
1988.02
513.17
4743.5
1769.6
975.4
909.4
1021.6
1723.6
2113.6
1192.7
921.5
1225.3
839.5
1668.4
1012.3
1367.59
1050.5
1960.1
1238.8
1324.2
1328.3
2806.1
1245.9
1616.7
1201
1338.6
1264
1253
1221.9
1248.2
2791.4
2310.6
1164.4
1919.5
2161.9
1190.5
409.4
1526.4
1170.4
1428
1905.8
1133.8
1487.5
829.4
1028.6
2227
2508.1
1467.3
1584.8
1513.8
1511.2
1091.7
1551.05
4785.5
1445.86
2659.5
1429.9
1232.8
1245.6
550.2
1708
1317.4
2591.9
1770
2630.6
1861.4
1644.45
1196.7
1390.9
1235.9
1425
1652.5
1594.1
1620.7
640.7
464.6
1675.2
1141.8
1202.2
2079.78
2842.8
2102.3
2463.1
2993.1
3120.5
957.7
1920.5
2019.3
1643.7
1768.3
1636.5
1564.3
2330.21
546.4
968.2
1450.9
1839.16
1421.4
637.4
1541.8
3538.5
946.4
1361
1304.7
1821.6
1046.5
4231.9
893.7
1363.2
1416.6
2112
1232.6
1457.7
1171.8
893.3
2433.7
1242
888.6
1683.1
1247.9
3006.7
1904.1
1238.8
7008
1863.84
1174.48
1618.2
1734.5
1226
1020.17
2395.34
1011.3
1707.9
2771.5
1599.3
1263.8
1934.32
5537.3
1580.9
1701.5
1790.8
2150.6
7220
1232.8
2345.6
1485.5
2495.8
4001.8
3264.3
15361.6
3432.25
4857.5
2731.5
2621.8
3305.2
2067.7
1877.6
4240.7
2305.6
1619.9
1461.8
1533.2
303.7
1818.2
2116.85
14.2
2393.95
1546.26
2891.9
1022.5
2228.2
2226.68
1536.1
2287.46
1294.3
2448.9
3910.7
2248.6
3219.9
1260.4
3019.7
1372.1
7013.5
1764.5
1873.7
1688.4
2070.1
2459.4
1949.97
2643.1
2697.7
3387.7
2834.9
1328.9
1220.1
1797.64
263
31.9
2270.6
4215.21
3203.8
3471.5
3032.18
2833.1
1560.1
1980.49
2707
2890.56
2914.7
2085.2
1733.4
2781.6
1479.6
2353.4
1637.5
1976.6
2660.4
1399.47
1531.3
1850.4
2079.2
2592.6
3765.6
2167.8
2426.69
2172.5
5517.6
2371.68
2944
1608.2
2377.87
2197.7
3103.5
3578.6
2284.3
2646.4
1114.17
2064.2
2984.8
2565.5
2412.74
1978.1
2752.4
1707.4
2385.8
1860
2681.32
2385.63
3172.56
2206.11
1642.9
2641.7
3213.99
8264.6
7993.93
2861.8
2758.9
2372.4
3316.76
1524.7
1920.2
1563
3755.9
3007.57
1985.89
2765.45
2595.1
729.8
3396.7
2766.59
3182.48
2328.4
1913.14
5041.57
3285.7
1352.5
2292.23
2850.1
5131.51
3544.07
4177
4421
2230.4
3203.3
2637.97
1997.2
1367.58
1185.72
2302.4
471.43
4991.6
3345.1
1244.49
3584.6
2680.1
3672.6
3117
895.41
2965.63
2397.8
3516.8
6291.5
3028.1
2370.8
3278.9
1777.5
2974.8
2756.37
2941
2808.2
2326.28
4167.61
3164.5
8366.3
4494
10882.9
3924.8
3660.75
1665.64
1922.91
2331.44
2553.62
1811.21
3565.32
3406.29
1419.34
2367.7
3280.24
2835.52
3602.23
4371.1
3396.1
1815.41
6819.8
2480.7
5966.44
2586.84
1790
1812.9
3018.24
2967.9
2068.2
1624.1
3577.97
3622.95
1946.89
1978.25
3087.81
2216.7
2054.19
1117
953
1103.4
1698.9
1233.5
1351.2
659.5
923.8
798.8
1202.3
1158.5
688.61
1769
1163
1169.9
1106.2
1831.2
1696.3
1656.8
1143.3
1208.1
1625.7
1457
1557.4
1382.58
1533.4
788.6
1708.8
852.5
1465.9
1486.2
1019.1
988.2
1974.2
734.7
1694.9
658.7
1491.3
632.8
1407.3
584.09
2491.1
1951.3
1523.4
1087.6
984.8
1169.2
1150.9
2081.4
2038.2
1196.9
1661.3
1347.9
2416.6
2624.8
1411.4
2034.9
1930.5
1302.8
1266.5
1124.4
1966.3
1944.3
1441.3
1107
1957
1812.5
782.5
1667
2035
1604.8
1066.9
1230.9
1653.9
2235.3
1964
1910.5
1311.9
2555.7
1752.5
1571.5
1417.6
575.8
1918.8
2743.9
346.2
1638.85
3828.6
3663.7
3081.9
2150.01
1694.6
1061.24
2353.7
1058.2
2786
2205.5
1667.11
240.5
2051.2
2304.5
3704.3
8889.8
809.3
1378.6
1565.8
3120.9
11669.8
2411
1974.7
877.5
4025.2
1842
2416.52
991.4
1924.4
1631.6
590.5
521.6
1079.5
1217.9
474.2
1188.65
6014.9
1859.6
2327
2339.7
3375.1
4238.4
1292.6
2242.6
4245.81
1827.3
5700.1
2127.17
3248.43
3377.8
4416.7
1859.1
1967.6
1867.9
2228.7
1361.6
1502.3
1193.29
1341.8
817.8
3907.2
2160.2
1134.94
960.8
1243.4
2750.9
1963.4
3207
2123.9
1720.5
735.2
2477.4
4782.7
1626.9
2132.4
1182.7
2224
248.2
2614.2
1682.7
3050.2
1863.1
3894.3
1196.7
1147.9
1540.7
1549.65
1815.3
1405.3
1793.9
735.1
2580.13
1815.1
1723.25
1602.3
3000.5
1164.36
2868.5
2132.1
2355.8
2193
2273.2
2434.4
2233.4
3235.5
4087.8
4144.4
1932.6
1516.7
4843.3
2112.3
3871.6
1370.4
1372.76
1691.9
1165.4
2083.4
1851.29
1632.7
2679.5
751.2
2049.47
1433.7
1940.6
2689.2
2301.1
796
3164.5
2281.61
1360.5
2227.6
2043
2183.1
1233.4
1265.67
2603.89
2899.5
3110.9
1800.5
2577.3
2008
2806.05
4103.2
2218
1150
3657.8
7739.38
3276.1
2557.6
2510.4
2006
2107.3
2437.5
3107.8
2995
1932.9
2513.8
3506.2
1275.5
2579.76
2840.41
1868.5
2623.3
2942
3344.7
4309.3
3509.15
3181.9
2363.8
3875.97
3473.07
2307.4
3527.9
2056.6
2128.8
2750
2717.3
3903.03
4729.75
8346.44
3296.8
2374.1
1905.9
1243.1
2378.98
1971.2
3624.4
13048.2
2957.2
3890.17
783.17
3027.8
1244
2758.9
3758.81
4720.17
1654.07
3278.8
1500.71
1824.15
25499.2
2430.7
3237.1
1563.12
3013.95
2613.9
1643
2336.45
2994.5
1915.42
4323.26
3739.74
1630.4
2023.24
4482.9
5006.3
3809.2
1929.59
2741.68
3838.25
1842.62
4874.4
1806.9
2981.23
2777.01
2310.3
1626.56
2646.09
2819.99
3758.61
2811.84
2314.89
2125.4
4545.86
3659.35
1842.97
2040.1
3163.93
4185.35
2460.64
3295.38
2111.33
3218.83
2405.41
4169.53
1825.71
1608.49
2428.38
2483.82
2989.06
2562.95
2141.3
687.6
871.9
1951.3
3137.8
1486.2
1666.1
1710.8
1336.9
1276.7
824.5
2631.5
1240.8
1603
1269.9
883.16
892.7
825.4
1266.7
2140
1860.8
1297.2
3270.7
645.6
1411.6
1393.8
2135.4
1026.5
930.1
2283.2
1037.8
1606.6
1455.5
719.6
1652.2
1840.2
1037.5
1522.4
1462.7
1363.6
1129.7
1338.2
1244.2
1063.44
1225.2
162.5
590.31
675.7
1476.8
1443.7
2706.6
1441.5
1075.2
2442.6
1531.4
3042.5
3776
2064
909.9
2989.7
1069
1220.1
1447
679.6
1606.5
1602.2
1675.6
2041.63
1633.3
1162
1620.1
2168.4
1133.2
1667.5
1499.8
2206.3
1536.78
1796.7
1049.3
1866.7
910.1
1817.5
1118.8
1678.1
1525.7
2618.3
1923.5
2246
1417.4
2038.2
1647.9
2177.6
2034.9
1515.3
1378.2
660.7
1861.5
1701.3
2726.4
5402.1
1938.7
1927
2502.9
993.6
1533.8
1827.6
2264
1508.9
2156.8
1541.6
1694.35
4014.8
1528.3
673.8
1716.2
3103.5
1235.7
218.2
1816.4
3437.9
3510.6
2170.7
1681.9
1237.1
1275.9
1669.1
1567.2
2262.91
3526.8
3065.6
792.7
1804.2
2716.03
1700.6
8341
1695.1
1878.7
1094.5
852
1114.4
1554.5
1378.4
2044
1764.9
2773.9
2041.34
2543.1
1354.23
1915.2
1618.5
2009.4
2080
2532.8
1552.9
1585.1
302.3
2285.4
618.39
2358.3
1308.1
2430
2358.3
2870.7
1042.2
2777.8
1878.77
1013.4
2897.8
1454.1
1551.7
1370.5
1230.1
3058.8
1090.5
1911.5
12048.8
2074.38
2500.3
492.1
2504.2
1886.9
1655.6
1289.1
2046.9
2239.03
2050.6
1731.6
1171.7
2139.2
3440.3
2413.63
2538.3
1675.6
3162.4
2586.5
2220.5
1688.7
1950.5
1794.2
5572.9
3285.2
1319.9
1595.2
3864.4
2043.9
4646.5
2752.3
3178.2
3274
1349.6
1931.77
2826.1
2559.2
1598.9
3162.5
1992.2
1884.94
1402.5
1357.4
1519.4
2222.6
931.4
1449.4
2846.8
2513.6
1966.82
2625.3
2806.7
2336.2
3976.8
1263.5
974.9
2607.2
1311.84
2504.74
2487.3
2315.7
1747.8
1166.7
2474.12
5081.5
2480.6
2271.2
5135.3
2642.13
2990.7
2661.38
2443.5
2653.1
2288.4
2605
3262.13
2537
2396.48
2799.1
3339.38
5161.8
7222
2417.5
3648.58
1951.4
3147.35
2016.3
2191.9
5206.8
2785.1
6542.09
3624.8
3940
3061.48
4361.3
3969.52
3728.4
2407.2
1735
2629.4
2438.66
3120.6
31.9
2944.37
4002
3199.75
5257.5
13475.8
2982
2368.6
3355.3
2217
3413.3
2936.6
2712.53
2055.97
4534.26
2457.49
2024.3
2246.37
1842.6
2037.4
3487.74
1944.5
8893.2
2119.12
5521.69
1494.2
4471.27
2212.9
1916.79
2376.16
3537.37
6864.16
4390.8
2933.2
3840.15
2915.87
2738.83
444.1
580.7
1338.97
19333.34
2360.39
2433.83
10557.7
1674.69
5019.24
3039.1
1606.46
1559.3
3760.19
1404.46
1918.6
1319.4
376.54
792.5
899.2
1746.2
1274.1
1441.6
1018.9
481.8
828.2
1286.4
968.2
729.9
1824.5
1307.3
1027.1
1438.4
1489.3
1076.8
1068.9
1491.5
2548.3
875.6
2206.7
1726.9
650.7
1481.7
608.6
1298.2
1239.2
1724.7
1789.3
1508
1082.9
1475.9
4470
2006.7
1564.5
1962.3
1888.9
1459.3
1662.54
831.4
1277.2
1677.7
1979.2
1873.63
633.3
1930.9
3107.6
1697.4
1079.9
2015.8
2478.1
1767.7
2827.2
1677.6
1362
781.9
1929.9
2325.4
603.9
3024.9
1522.5
1834.67
748.7
1692.3
2256.8
1771.4
1655.3
2836.8
2343.7
1320.87
1165.6
2069.6
1265.7
6836.6
372.4
1584.6
3661.7
2443.3
2690.3
1325.2
1459.9
1111
3428.9
1862.8
2341.1
3449.3
2100.8
1939.3
1014.9
1588.9
1573.6
1746.1
1162.7
1817.6
1590.8
2277
1971.1
1422.9
2303.4
1905.2
2113.4
1970.6
1495.7
1010.29
1828.7
3453.3
2746.5
1819.4
6722
3670.4
2307.4
1827.93
2323.9
1730.8
2290.4
1836.3
2491.8
2100.6
2429.5
1488.8
1198.7
2350.4
1785
7637
1130.6
1184.78
1552.4
1982.8
2164.8
4079.9
2027.8
1876.3
1549.5
2080.3
2557.7
1900.2
2076.6
2539.2
2111.4
1166.7
2116.4
1663.6
3494.58
1596.9
1899.2
1426.2
898.67
1524.9
1680.82
1777.4
1570.4
1793.8
1613.7
1656
1447.11
1493.06
1260.5
1173.4
1273.2
1697.8
1498.4
2403.6
2730.1
1095
2093.3
2253.1
3043.7
2964.2
1585.1
2062.2
2105.4
8903.19
2227.3
1558.99
1783.7
3603.3
2526.3
1214.4
2053.9
1027.99
1833.7
2992.4
2393.1
2879.5
2415
3332
2494.7
4106.53
2195
1820.34
2223.65
932.2
2700.5
2236.8
487.7
1652.3
2887.4
5041.8
1590.6
577.53
845.78
2734.6
2858.1
2793.8
5248.2
4080.4
1012.6
356.9
2443.5
1424.83
2422.4
1482.9
3686.8
2637
3382.7
2418.44
3033.2
1620.69
2400.1
2688.08
2533.1
1330.67
1870.03
1835.4
1830.8
2748.3
2605.9
1132.1
2679.14
1076.8
2551.7
3574.13
1775.6
4661.1
4180.68
2382.2
1168.98
2713.4
1262.5
4316.3
1363.11
5269.8
4283.44
2911.1
5339.21
3747
1969.92
5105.8
3747.91
2758.51
5083.1
2060.2
3979.7
6571.3
2647.9
2411.87
3246.31
2235.75
3828.09
3424.7
2129.8
890.1
3023.2
2528.3
2166.1
1316.2
3778.8
1871.5
3689.2
3726.25
3474.1
3083.1
3904.8
3596.4
1517
2455.7
3288.3
5726.1
1347.05
3407.74
3775.69
2694.2
2816.68
26354.4
3987.5
4268.4
2063.2
2885.5
4020.32
2464.04
3365.22
3988.9
2181.49
2572.05
2038.74
3303.29
1850.8
2801.42
3253.55
2083.75
3250.3
3104.07
2259.1
1710.8
14377.9
1816.24
3173.3
2045.59
1605.8
2905.07
2893.28
336.86
4733.8
3120.5
4100.23
1698.17
2965.67
2038.34
2815.08
7261
4713.5
1356.4
4703.43
3383.64
1072.4
1440.5
736.5
618.9
3669.32
2961.8
3006.2
2781.9
5638.9
4289.7
2206.7
900.9
3605.05
2440.82
1739.1
1421.7
1498.15
1318.76
1562.6
761.7
1311.4
760
1237.9
1348.6
1328.35
704.9
1700.2
1562.7
1136.8
837.8
1063.6
1404.2
2456.5
1721
1561.4
5502.31
1507.5
2103.5
953.3
1475.8
617.4
1870.2
918.3
1370.8
1346.9
851.2
1193.5
2387.7
1639
1876
1579.1
1130.3
1705.3
1038
1852.7
2123.9
1447.3
1889.8
2266
1403.3
1215.3
2048.1
2323.8
869.6
1609.32
616.5
1389.6
832.6
1502.5
1427.8
2057
1261.3
1447.2
856
1394.8
2193.1
1506.19
1386.2
1786.4
1389.6
2211.3
742.6
887.2
1594.5
2966.8
2325.3
775.3
594.5
1132.8
1295.7
1151.7
2153
1447.1
571.2
1109.7
1349.8
1552.7
1637
3564.4
1460.9
2054.4
1583
2181.2
1975.4
1663.4
2917.3
3111.8
1303.4
1556.9
990.3
999.7
1961.5
1262.6
1621.5
1395.5
3713.7
1335
7295.9
2056.7
1324.1
1520.6
1448.9
1383.7
1285.3
1712
1561
2431.9
1962.6
1763.04
1197.2
1633
1103.1
918.6
1363.8
2657.3
1495.6
1201
1439.2
1556.51
2161.5
1790
2257.3
1715.9
835.2
4737.1
1361.1
2021.36
2020.7
1715.2
4589.3
1112.6
1463.6
1533.5
1484
955.1
2342.9
705.1
1653.5
701.6
2211.1
1354.4
1509.6
4926.2
2934.6
2152.4
2083.9
1327.62
1923.3
1600.2
1668.1
2016.1
1663.5
2031.6
2839.08
1062.65
1693.4
1295.6
2119.7
2336.7
981.9
1358.2
2218.5
2613.7
2376.9
2036.3
2302.6
2269.32
1913.67
2364.2
906.31
3597.6
1318.48
1317.9
1232.14
1398.4
2178
1176.8
1788.9
2239.1
2706.9
2236.4
3321
1804.9
0
2597.3
1909.2
1996.6
2901.8
2935.4
2720.74
3224.5
1588
1474.2
1894.3
2588.6
1786.6
1202.2
2583
2237.6
2440.3
1450.8
2581.2
4148.3
2260.2
1901.23
3391.2
3696.5
2465.2
2202.7
2630.8
2134.4
4019
5312.47
2083.3
4828.6
1738.72
2756.3
3554.6
3956.51
2868.42
2659.1
3141.24
1665.15
2251.7
3098.7
2505.63
3342.8
3551.1
2713.7
1030.2
1807.24
1996.17
1748.18
3495.7
1100.9
3725.1
2323.76
3059.7
3222.75
1834.8
2042.14
2184.5
1711.2
2426.5
1586.1
1884.5
1650
2495.1
1907.5
1303.58
1979.8
2701.4
1464
2080.41
2408.6
2733.1
3395.52
1423.95
3432.1
2848.14
4328.5
1830.8
2611.1
3374.7
2518.8
2741.2
2851.5
1742
3996.5
2390.6
2124.78
2942.8
2471.9
1574
2440.61
1433.9
4163.9
3227.6
3158.9
2821.24
9337.9
3386.62
2225.7
3834.6
1904.4
2003.4
3186.4
1810.9
4047.2
1976.9
10152.7
2201.29
3445.9
2323.26
607.1
3551
2742.4
3731.25
2960.74
4077.6
1566.7
5189.3
3815.69
2670.8
2295.7
3638.29
3440.3
5043.4
1813.51
4000.43
4025.4
5416.62
11904.7
3251.83
2821.89
602.71
2694.71
1411.99
5829.68
1817.04
3317
4069.79
2290.22
2675.5
4134.74
2344.47
2392.05
2035.6
1565.4
3320.88
988.6
4073.5
1510.9
2246.56
939.1
2230.61
1490.54
3254.41
11470.6
6371.1
5160.2
2420.35
2833.68
3114.27
1968.56
2152.33
3286.3
4381.31
2560.9
642.63
2403.24
4238.5
4005.92
2292.79
3463.45
2981.44
2370.3
4065.82
3515.24
3385.7
3584.78
4898.63
1345.53
3525.2
3906.13
3159.64
2172.34
2947.39
1929.94
226.7
2143.5
3049.92
985.3
1337.6
1117.2
1965.7
1561.1
866.9
1356.63
1261.4
1179
731.4
1135.7
1314.7
1634.1
973
1457.7
1194.1
1454.3
1523.4
1291.9
1242
4747.9
1717.9
1668
3142.9
1678.4
1553.4
837.5
1784.5
447.6
1565.1
1507.8
1320.1
1437.3
1138.2
1228.16
675.7
1845
513.5
1315.1
1776.9
1042.6
844.5
1159.6
1439.9
1336.8
1301.3
835.2
1363.5
815.7
5233.1
1680.6
3147.85
1333
3366.6
2088.9
1165.4
1787.9
1479.2
1634.3
1264.5
1227.1
3348.4
997.3
3145.9
1716.8
1741.4
1367.9
2207.4
1933
2540
1774
2013.6
586.8
4156.5
1255.2
1480.2
837.3
1095.8
1932.7
1904.7
1097.5
1099.4
1631.8
1266.8
1718.1
2211.72
2288.6
1367.1
2069.7
1321.1
1330.4
1014.3
1008.3
2045
3644.6
1132.6
1504.3
1992.4
3011.8
1701.8
873.7
6878.5
1969.3
2097.8
1972.2
824.1
2918.6
2975.3
1165.8
1493.7
2414.5
1044.7
1094.1
2051
1119.5
2913.7
1641.9
2252.3
5802.1
751.6
1977.8
1413.56
665.5
948.7
2277.1
1765.7
1137.4
2789.5
2791.2
1093.8
757.8
2936.19
1897.1
892.03
1553.7
1300.8
1069.3
2224.83
2250
1911.5
2149.8
1883.7
2223.5
888.28
1706.2
2977.8
4004.5
6886.2
4729.5
1611.9
1650.3
2985.8
3906.2
4759.24
2389.8
1742.1
2433.9
4650.9
1211.8
2323.5
1017.54
1201.3
2279.9
2127.3
509
5789.1
4188.5
2869.6
2094.8
2647.2
1308.8
2360.62
1709.5
4054.1
2782.9
672.1
2226.4
922.1
2536.8
5913.6
1530.4
4654.8
3150.3
2166.5
2856
2287.1
2481.8
1200.52
2079.4
2084.8
1071.03
2509.9
1143.4
3751.2
2415.2
2790.4
2481.14
1132.7
1731.6
2135.8
1864.8
1171
2501
2393.9
1802.9
2305.2
1636
3239.82
2716.9
964.9
2350.9
360
967.2
3631.8
1664
555.3
3059.3
4515.9
3053.3
3887.7
1480.4
2313.48
1735.9
2406.3
1639
379.8
2134.7
1725.81
3895.88
1495.7
2778.8
1693.9
2142.8
4012.09
2373
1891.6
2314.45
1684.3
2476.7
1827.93
4125.2
984.4
2393.5
3491.6
3526.5
4582
3468.1
2272.7
1334.2
3241.6
618.3
1382.1
2442.13
2114
1594.93
3970.1
2180.8
1229.5
2720.8
1958.5
2193.1
2138.6
2615.26
2606.5
1812.8
3693.3
1667.32
2514.88
3011.9
1793.2
3129.21
1894
3277.6
1435.2
1273.5
1190.4
1708.6
1721.4
1230.61
2003.1
2277.3
2303.3
3594
3697.3
3041.5
3535.6
1741.7
3610.1
2156.02
2284.56
2412.5
1819.8
857.9
3909.4
2090.32
5599.91
5783.6
3447.7
3543.22
4566.7
4937.7
1630.38
1746.4
2978.1
2870.2
3654.5
2318.89
3628.3
2913.7
3520.8
3288.7
2976.4
3092.8
3743.4
2328.4
3889.8
3520.33
2987.7
1151.22
1990.47
2267.4
2200.7
1577.79
1567.26
2103.09
2719.78
2882.6
2547.55
2525.87
3021.56
1799.77
2609.84
1624.6
2894.53
3806.56
2557.34
2208.1
920.99
3424.62
1404.7
3573.32
2369
3119.54
3093.3
3454.4
2766.9
2501.89
1911.22
2366.52
2785.69
3546.2
2607.13
2906.23
4477.8
3257.65
3762.8
2718.7
3020.73
1873.64
4085.08
4641.1
2034.84
2889.1
2373.85
2417.7
2452.62
6595.64
2756.89
1147.13
2073.67
5897.6
2027.8
2008.5
2894.43
2533.61
2829.18
4009.87
1763.66
2428
2023.48
961.7
1673.55
25.1
1080.6
1442.7
1281.6
1147.5
844.2
945.7
1011.6
659.8
962.7
835.4
1142.6
1152.4
1338.7
2610.1
896.1
1435.5
1235.4
1162.9
1694.7
806.85
948.9
1279
2769.7
1529.4
1055.9
798.9
1479.3
1900.4
1740.3
1011.6
1033.2
1748.6
2257.2
1239
1899.7
2664.1
2664
2375.3
873.5
1330.9
782.4
1706.7
1907.2
3615.2
2378.3
1384.5
1298.7
1104.8
856.9
492.8
4101
1191.4
2050.1
1617.1
2160
1684
1626.8
1282.7
1550.7
1394.1
2336.2
1217.2
747.8
1831.9
779.6
859.3
1964.1
879.6
1638.4
1548.3
1926.1
1839.25
1482.8
2990.77
1845.6
1591.3
1470.4
2237.4
1559.5
2009.6
1951.1
728
1540.2
1001.2
1810.9
2692
869.7
1869.6
1994.1
1691
1296
2496.3
3125.9
4470.5
4495.3
2582.6
4286.3
1150.9
1349.4
2388.5
2093.4
1664.3
7886.1
2770.48
809.6
2372.9
1389.1
1525
288
1334.6
1412.7
1671.2
1470.2
2518.5
1926.5
1169.7
8616.1
1084
2651.74
2110.9
2020.73
2206.6
1529.1
1597.8
2241.2
2864.3
1973.3
2590
2708.5
1962.4
363.3
2552.5
1492.6
933.9
1832
3388.8
1682.6
2079.4
2478.6
2179.7
1709.9
2278.9
1201.1
971.1
1171.1
1877.45
1646.2
2284.1
2922.6
1871.8
1945.85
1746.5
5010.8
2952.3
1995.5
859.4
1766.2
330.1
1489.9
1628.6
3296.3
1976
1073.2
1868.2
1430.8
1919.6
1627.64
2640
2587.2
2959.9
1663.4
2132.2
4566.1
2052.9
1853.8
1824.9
2385.8
1372.6
2068.3
2109.9
2820.4
1237.88
2383.5
1821.3
1527.1
189.5
2149.5
2546.5
1850.1
2474.9
2715.3
1862.9
2577.1
2429.6
1841.6
2291
2072.4
2532.93
2307.8
1771.1
6239
931.7
1897.6
3370.5
2435.6
3763.64
2543.1
1811.06
2552.8
3026.8
1943.5
1200.62
1851.6
2283.04
2026.1
2107.9
3462.6
1772.21
2289.8
1184.4
1909.3
1977.41
2462.12
2817.6
2557.1
2429.7
2492.81
2216.9
2387.4
854.5
2011.5
3077.9
3427.1
2724.8
2644.59
1905.7
2298.8
2872.2
1931.22
2439.47
2138
2550.78
2167.9
2842.6
2164.2
1446.2
1055.8
1980.06
1847.8
3133
2574.4
2507.6
3658
2463.4
852
2082.1
1862.8
2310.4
2868.04
5761.59
3658.5
3780.1
3717.4
2197.7
4766.78
4613.3
6224.8
3278.6
1338.4
625.4
752
1356.9
2775.1
525.8
2331
3791.7
5284.2
1471.3
7148.4
3367
4176.1
4287.41
2267.6
3548.1
6612
2289.7
2956.9
1876.9
2532.1
3427.6
3365.14
3742.4
3272.01
3379.2
4542.9
1505.31
2241.59
3662.28
1977.7
2346.82
3887.27
2933.5
2527.9
4600.39
2841.46
4149
2123.26
1666.33
2713.65
2830.6
6602.2
3362.2
2905.8
3065.6
2447.2
3363.81
2595.9
7107.8
2793.05
6373.1
705.92
2291.2
1596.91
975.94
3165.55
4490.81
5083.76
3030.29
2577.9
5064.4
3834.22
3901.2
3214.27
1959.01
1204.73
2447.8
1914.75
2150.8
1897.58
2544.46
1148.4
1322.08
966.7
1708.68
2856.01
1618.27
11487.5
1856.66
2379.83
4569.54
2966
1998
2879.98
1980.15
1625.03
911
python程式碼如下:
import matplotlib.pyplot as plt
import matplotlib.mlab as mlab
import numpy as np
from scipy.optimize import curve_fit
from scipy import asarray as ar,exp
import numpy as np
# 引數依次為list,抬頭,X軸標籤,Y軸標籤,XY軸的範圍
def draw_hist(myList,Title,Xlabel,Ylabel,Xmin,Xmax,Ymin,Ymax):
m=plt.hist(myList,100)
plt.xlabel(Xlabel)
plt.xlim(Xmin,Xmax)
plt.ylabel(Ylabel)
plt.ylim(Ymin,Ymax)
plt.title(Title)
# plt.show()
# fig=plt.figure()
# plt.show()
return m
#讀取資料
feedlist= open('E:\南石路徑8個患者資料\患者的費用.csv')
x=[]
for feedurl in feedlist:
feedurl = feedurl.strip('\n')
feedurl=float(feedurl)
x.append(feedurl)
print(x)
#根據資料生成直方圖
mean=np.array(x).mean()
std=np.array(x).std()
print('x的均值',mean)
print('x的方差',std)
print('置信區間',mean-2*std,mean+2*std)
z=draw_hist(x,'AreasList','Area','number',0,10000,0,350)
x=z[1][0:len(z[1])-1]
y=z[0]
plt.plot(x,y,color='b')
plt.xlim(0,10000)
plt.ylim(0,350)
plt.axis('on')
x1=[mean+2*std]*100
x1=np.array(x1)
y1=np.linspace(1,350,100)
plt.plot(x1,y1,color='r')
print(x1)
#填充顏色
plt.show()
#通過高斯擬合新增置信區間
結果影象如下:
相關文章
- python如何畫直方圖Python直方圖
- python畫散點圖和折線圖Python
- 【TUNE_ORACLE】列出必須建立直方圖的列SQL參考Oracle直方圖SQL
- 交叉線和直連線
- Python畫圖——matplotlib(普通折線圖)Python
- 負margin的移位參考線
- echarts markLine參考線Echarts
- ai學習參考路線AI
- dba_histograms等高直方圖和等頻直方圖的理解Histogram直方圖
- PLSQL包和TYPE參考手冊SQL
- 直方圖直方圖
- [Python影象處理] 十一.灰度直方圖概念及OpenCV繪製直方圖Python直方圖OpenCV
- python 資料視覺化:直方圖、核密度估計圖、箱線圖、累積分佈函式圖Python視覺化直方圖函式
- 收集直方圖及檢視直方圖資訊直方圖
- python matplotlib畫圖是設定線寬Python
- matlab畫折線圖Matlab
- c# winform之繪畫及畫直曲線相關C#ORM
- oracle統計資訊和直方圖Oracle直方圖
- 直方圖(histograms)直方圖Histogram
- 7.3 直方圖直方圖
- oracle 直方圖Oracle直方圖
- OpenCV-Python教程(9)(10)(11): 使用霍夫變換檢測直線 直方圖均衡化 輪廓檢測OpenCVPython直方圖
- 生物資訊-McScan(Python-jcvi)共線性畫圖Python
- Unity3D畫直線、畫點外掛Vectrosity簡介Unity3DROS
- c#畫圖(橢圓和弧線)Craphics類C#
- 第六篇:R語言資料視覺化之資料分佈圖(直方圖、密度曲線、箱線圖、等高線、2D密度圖)R語言視覺化直方圖
- python中使用OpenCV畫線PythonOpenCV
- 如何用MFC畫出直線、虛線、折線、圓、橢圓、矩形、弧形(附上原始碼)原始碼
- druid連線池的配置檔案參考UI
- 直方圖均衡化直方圖
- 04:垂直直方圖直方圖
- oracle直方圖使用Oracle直方圖
- 直方圖學習直方圖
- Oracle直方圖解析Oracle直方圖圖解
- [zt] Histograms - 直方圖Histogram直方圖
- Python-OpenCV 處理影象(四):影象直方圖和反向投影PythonOpenCV直方圖
- 公務員考試學習路線圖
- Python 影像處理 OpenCV (16):影像直方圖PythonOpenCV直方圖