{"id":4385,"date":"2025-01-09T15:35:24","date_gmt":"2025-01-09T06:35:24","guid":{"rendered":"https:\/\/secondlife.lol\/?p=4385"},"modified":"2025-01-09T15:35:26","modified_gmt":"2025-01-09T06:35:26","slug":"python-line-graph-priority-compensation","status":"publish","type":"post","link":"https:\/\/secondlife.lol\/zh\/python-line-graph-priority-compensation\/","title":{"rendered":"\u7528 Python \u6298\u7ebf\u56fe\u76f4\u89c2\u663e\u793a\u300a\u79df\u91d1\u4fdd\u62a4\u6cd5\u300b\u4f18\u5148\u4ed8\u6b3e\u8d8b\u52bf\uff082025 \u5e74\uff09"},"content":{"rendered":"<style>.kb-image4385_872def-c4 .kb-image-has-overlay:after{opacity:0.3;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}.kb-image4385_872def-c4 img.kb-img, .kb-image4385_872def-c4 .kb-img img{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}<\/style>\n<div class=\"wp-block-kadence-image kb-image4385_872def-c4\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1200\" height=\"797\" src=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-R8avXZhceeq7crx2uJSw46.jpg\" alt=\"\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504 \uc774\ubbf8\uc9c0\" class=\"kb-img wp-image-4389\" srcset=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-R8avXZhceeq7crx2uJSw46.jpg 1200w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-R8avXZhceeq7crx2uJSw46-300x199.jpg 300w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-R8avXZhceeq7crx2uJSw46-600x399.jpg 600w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-R8avXZhceeq7crx2uJSw46-768x510.jpg 768w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-R8avXZhceeq7crx2uJSw46-18x12.jpg 18w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><figcaption>(\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504)<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\ud639\uc2dc <strong>\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561<\/strong>\uc5d0 \ub300\ud574 \ub4e4\uc5b4\ubcf4\uc168\ub098\uc694? \uc774 \uc81c\ub3c4\ub294 <strong>\uc138\uc785\uc790\uc758 \ubcf4\uc99d\uae08\uc744 \ubcf4\ud638\ud558\uae30 \uc704\ud55c \uc911\uc694\ud55c \uc7a5\uce58<\/strong>\uc778\ub370\uc694, \ub9cc\uc57d \uc9d1\uc8fc\uc778\uc774 \ud30c\uc0b0\ud558\uac70\ub098 \uacbd\ub9e4\uc5d0 \ub118\uc5b4\uac00\uac8c \ub418\uba74 \ubcf4\uc99d\uae08 \uc77c\ubd80\ub97c \uc6b0\uc120\uc801\uc73c\ub85c \ubcf4\ud638\ud574\uc8fc\ub294 \uc81c\ub3c4\uc785\ub2c8\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc624\ub298\uc740 <strong><a href=\"http:\/\/python.org\" target=\"_blank\" rel=\"noopener\">\ud30c\uc774\uc36c<\/a> \uc120\uadf8\ub798\ud504\ub97c \ud65c\uc6a9\ud574\uc11c \uc9c0\uc5ed\ubcc4 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ucd94\uc774\ub97c \uc2dc\uac01\ud654\ud558\ub294 \ubc29\ubc95<\/strong>\uc744 \uc54c\ub824\ub4dc\ub9b4\uac8c\uc694. \ud55c \uc904 \ud55c \uc904 \uc124\uba85\ud558\ub2c8 \ud30c\uc774\uc36c \ucd08\ubcf4\uc790\ub3c4 \uc27d\uac8c \ub530\ub77c \ud560 \uc218 \uc788\uc5b4\uc694. \uadf8\ub7fc \ubc14\ub85c \uc2dc\uc791\ud574\ubcfc\uae4c\uc694?<\/p>\n\n\n<style>.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title-wrap{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title-wrap{color:var(--global-palette2, #2B6CB0);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{color:var(--global-palette2, #2B6CB0);font-size:28px;font-weight:regular;font-style:normal;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap .kb-table-of-content-list{color:var(--global-palette1, #3182CE);line-height:2em;font-weight:regular;font-style:normal;margin-top:var(--global-kb-spacing-sm, 1.5rem);margin-right:0px;margin-bottom:0px;margin-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap .kb-table-of-content-list .kb-table-of-contents__entry:hover{color:var(--global-palette6, #718096);}@media all and (max-width: 1024px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);}}@media all and (max-width: 1024px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{font-size:28px;}}@media all and (max-width: 767px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{font-size:28px;}}<\/style>\n\n\n<h2 class=\"wp-block-heading\">\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561\uc774\ub780?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561\uc740 \uc138\uc785\uc790\uac00 \uc784\ub300\uc778\uc758 \uacbd\uc81c\uc801 \uc5b4\ub824\uc6c0\uc73c\ub85c \uc778\ud574 \ubcf4\uc99d\uae08\uc744 \uc783\uc9c0 \uc54a\ub3c4\ub85d \ubcf4\ud638\ud558\ub294 \uc81c\ub3c4\uc785\ub2c8\ub2e4. \uc9d1\uc774 \uacbd\ub9e4\uc5d0 \ub118\uc5b4\uac00\uac70\ub098 \uc555\ub958\ub418\ub294 \uacbd\uc6b0\ub77c\ub3c4 <strong>\ubcf4\uc99d\uae08\uc758 \uc77c\ubd80\ub97c \ub2e4\ub978 \ucc44\uad8c\uc790\ubcf4\ub2e4 \uba3c\uc800 \ubcc0\uc81c\ubc1b\uc744 \uc218 \uc788\ub294 \uad8c\ub9ac\ub97c \uc81c\uacf5<\/strong>\ud569\ub2c8\ub2e4.<\/p>\n\n\n<style>.kb-image4385_c79b7a-92 .kb-image-has-overlay:after{opacity:0.3;}<\/style>\n<div class=\"wp-block-kadence-image kb-image4385_c79b7a-92\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"600\" height=\"343\" src=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-MRQJ4XMc1mVndxChkyVLnm-600x343.webp\" alt=\"\" class=\"kb-img wp-image-4394\" srcset=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-MRQJ4XMc1mVndxChkyVLnm-600x343.webp 600w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-MRQJ4XMc1mVndxChkyVLnm-300x171.webp 300w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-MRQJ4XMc1mVndxChkyVLnm-768x439.webp 768w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-MRQJ4XMc1mVndxChkyVLnm-1536x878.webp 1536w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-MRQJ4XMc1mVndxChkyVLnm-18x10.webp 18w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/file-MRQJ4XMc1mVndxChkyVLnm.webp 1792w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><figcaption>(\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \uad00\ub828 \uc778\uacf5\uc9c0\ub2a5 \uc0dd\uc131 \uc774\ubbf8\uc9c0)<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2025\ub144 \uae30\uc900 \uc9c0\uc5ed\ubcc4 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\uc11c\uc6b8\ud2b9\ubcc4\uc2dc:<\/strong> \ubcf4\uc99d\uae08 1\uc5b5 6,500\ub9cc \uc6d0 \uc774\ud558 \u2192 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 5,500\ub9cc \uc6d0<\/li>\n\n\n\n<li><strong>\uc218\ub3c4\uad8c \uacfc\ubc00\uc5b5\uc81c\uad8c\uc5ed:<\/strong> \ubcf4\uc99d\uae08 1\uc5b5 4,500\ub9cc \uc6d0 \uc774\ud558 \u2192 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 4,800\ub9cc \uc6d0<\/li>\n\n\n\n<li><strong>\uad11\uc5ed\uc2dc \ubc0f \uc8fc\uc694 \ub3c4\uc2dc:<\/strong> \ubcf4\uc99d\uae08 8,500\ub9cc \uc6d0 \uc774\ud558 \u2192 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 2,800\ub9cc \uc6d0<\/li>\n\n\n\n<li><strong>\uae30\ud0c0 \uc9c0\uc5ed:<\/strong> \ubcf4\uc99d\uae08 7,500\ub9cc \uc6d0 \uc774\ud558 \u2192 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 2,500\ub9cc \uc6d0<\/li>\n<\/ul>\n\n\n<style>.wp-block-kadence-advancedheading.kt-adv-heading4385_eab326-97, .wp-block-kadence-advancedheading.kt-adv-heading4385_eab326-97[data-kb-block=\"kb-adv-heading4385_eab326-97\"]{font-style:normal;}.wp-block-kadence-advancedheading.kt-adv-heading4385_eab326-97 mark.kt-highlight, .wp-block-kadence-advancedheading.kt-adv-heading4385_eab326-97[data-kb-block=\"kb-adv-heading4385_eab326-97\"] mark.kt-highlight{font-style:normal;color:#f76a0c;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.wp-block-kadence-advancedheading.kt-adv-heading4385_eab326-97 img.kb-inline-image, .wp-block-kadence-advancedheading.kt-adv-heading4385_eab326-97[data-kb-block=\"kb-adv-heading4385_eab326-97\"] img.kb-inline-image{width:150px;vertical-align:baseline;}<\/style>\n<h3 class=\"kt-adv-heading4385_eab326-97 wp-block-kadence-advancedheading\" data-kb-block=\"kb-adv-heading4385_eab326-97\">\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \uad00\ub828 \ubc95\ub960 \uc870\ud56d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \uc81c8\uc870\uc5d0 \ub530\ub974\uba74, \uc18c\uc561\uc784\ucc28\uc778\uc740 \ubcf4\uc99d\uae08\uc758 \uc77c\ubd80\ub97c \ub2e4\ub978 \ucc44\uad8c\uc790\ubcf4\ub2e4 \uc6b0\uc120\uc801\uc73c\ub85c \ubcf4\ud638\ubc1b\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uc870\ud56d\uc740 \uc784\ucc28\uc778\uc758 \ubcf4\uc99d\uae08 \ubcf4\ud638\ub97c \uc704\ud574 \uc8fc\ud0dd \uacbd\ub9e4\ub098 \uacf5\ub9e4 \uc2dc, \ubcf4\uc99d\uae08 \uc911 \uc77c\uc815 \uae08\uc561\uc744 \ucd5c\uc6b0\uc120\uc801\uc73c\ub85c \ubcc0\uc81c\ubc1b\uc744 \uc218 \uc788\ub3c4\ub85d \uaddc\uc815\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc704\uc5d0\uc11c \uc54c\ub824\ub4dc\ub9b0 \uac83\uacfc \uac19\uc774 \uad6c\uccb4\uc801\uc778 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561\uacfc \uc18c\uc561\uc784\ucc28\uc778 \uae30\uc900\uc740 \ub300\ud1b5\ub839\ub839(\uc2dc\ud589\ub839)\uc73c\ub85c \uc815\ud574\uc9c0\uba70, \ud574\ub2f9 \uae08\uc561\uc740 \uc8fc\ud0dd\uac00\uc561\uc758 2\ubd84\uc758 1\uc744 \ucd08\uacfc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504\ub97c \ud65c\uc6a9\ud55c \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ucd94\uc774 \uc2dc\uac01\ud654<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\uc81c \ubcf8\uaca9\uc801\uc73c\ub85c \ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504\ub97c \uc0ac\uc6a9\ud574\uc11c \uc704 \ub370\uc774\ud130\ub97c \uc2dc\uac01\ud654\ud574\ubcfc\uac8c\uc694! \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud574\uc11c 2001\ub144\ubd80\ud130 2023\ub144\uae4c\uc9c0\uc758 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ubcc0\ud654\ub97c \ud55c\ub208\uc5d0 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud30c\uc774\uc36c \ucf54\ub4dc \uc608\uc81c<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>import matplotlib.pyplot as plt\n\n# \ub370\uc774\ud130 \uc815\ub9ac\nyears = &#91;2001, 2008, 2014, 2018, 2021, 2023]\nseoul = &#91;2000, 2700, 3400, 3700, 4500, 5500]\ncapital_region = &#91;1600, 2200, 2700, 3400, 4000, 4800]\nmetropolitan = &#91;1200, 1800, 2200, 2800, 2500, 2800]\nother_regions = &#91;1000, 1500, 1900, 2500, 2000, 2500]\n\n# \ub77c\uc778 \uadf8\ub798\ud504 \uadf8\ub9ac\uae30\nplt.figure(figsize=(12, 8))\nplt.plot(years, seoul, marker='o', label='Seoul')\nplt.plot(years, capital_region, marker='o', label='Capital Region')\nplt.plot(years, metropolitan, marker='o', label='Metropolitan Cities')\nplt.plot(years, other_regions, marker='o', label='Other Regions')\n\n# \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc5d0 \uae08\uc561 \ub808\uc774\ube14 \ucd94\uac00\nfor year, s, c, m, o in zip(years, seoul, capital_region, metropolitan, other_regions):\n    plt.text(year, s, f'{s}', ha='right')\n    plt.text(year, c, f'{c}', ha='right')\n    plt.text(year, m, f'{m}', ha='right')\n    plt.text(year, o, f'{o}', ha='right')\n\n# \uadf8\ub798\ud504 \uc124\uc815\nplt.title('Changes in Priority Compensation Amount by Region (2001-2023)')\nplt.xlabel('Year')\nplt.ylabel('Priority Compensation Amount (10,000 KRW)')\nplt.legend()\nplt.grid(True)\n\n# \uadf8\ub798\ud504 \ucd9c\ub825\nplt.tight_layout()\nplt.show()<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\uacb0\ub860: \ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504\ub85c \ub370\uc774\ud130 \uc774\ud574\ub97c \ub354 \uc27d\uac8c!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uc624\ub298\uc740 \ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504\ub97c \ud65c\uc6a9\ud574 \uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561\uc758 \ubcc0\ud654\ub97c \uc2dc\uac01\ud654\ud574\ubd24\uc5b4\uc694. \ub370\uc774\ud130\ub97c \uc2dc\uac01\ud654\ud558\uba74 \ud6e8\uc52c \ub354 \uc9c1\uad00\uc801\uc73c\ub85c \uc774\ud574\ud560 \uc218 \uc788\uc8e0!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ucc38\uace0\ub85c, \uc120\uadf8\ub798\ud504 \ubabb\uc9c0 \uc54a\uac8c \ub9c9\ub300\uadf8\ub798\ud504\ub97c \ub9ce\uc774 \uc0ac\uc6a9\ud558\uc8e0? <a href=\"https:\/\/secondlife.lol\/marriage-birth-stacked-bar-graph\/\" data-type=\"post\" data-id=\"4202\">\uacb0\ud63c \ucd9c\uc0b0\uc5d0 \ub300\ud55c \uc778\uc2dd \ubcc0\ud654: \ub204\uc801\ub9c9\ub300\uadf8\ub798\ud504\ub85c \ub370\uc774\ud130 \ubd84\uc11d\ud558\uae30<\/a> \ud3ec\uc2a4\ud2b8\ub97c \ud1b5\ud574\uc11c \uadf8 \ub0b4\uc6a9\uc744 \ud655\uc778\ud574\ubcf4\uc138\uc694!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">#\ucf54\ub4dc \uc0c1\uc138 \ud574\uc124<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<h4 class=\"wp-block-heading\">1. <strong>\ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac \uc784\ud3ec\ud2b8<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>import matplotlib.pyplot as plt<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>matplotlib.pyplot<\/code>\uc740 Python\uc5d0\uc11c \uadf8\ub798\ud504\ub97c \uadf8\ub9b4 \ub54c \uc0ac\uc6a9\ud558\ub294 \uc8fc\uc694 \ubaa8\ub4c8\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. <strong>\ub370\uc774\ud130 \uc900\ube44<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>years = &#91;2001, 2008, 2014, 2018, 2021, 2023]\nseoul = &#91;2000, 2700, 3400, 3700, 4500, 5500]\ncapital_region = &#91;1600, 2200, 2700, 3400, 4000, 4800]\nmetropolitan = &#91;1200, 1800, 2200, 2800, 2500, 2800]\nother_regions = &#91;1000, 1500, 1900, 2500, 2000, 2500]<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>years<\/code>: x\ucd95\uc5d0 \ud45c\uc2dc\ub420 \uc5f0\ub3c4 \ub370\uc774\ud130.<\/li>\n\n\n\n<li><code>seoul<\/code>, <code>capital_region<\/code>, <code>metropolitan<\/code>, <code>other_regions<\/code>: \uac01 \uc9c0\uc5ed\uc758 \uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ub370\uc774\ud130(y\ucd95).<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">3. <strong>\uadf8\ub798\ud504 \ud06c\uae30 \uc124\uc815<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>plt.figure(figsize=(12, 8))<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uadf8\ub798\ud504\uc758 \uc804\uccb4 \ud06c\uae30\ub97c \uac00\ub85c 12\uc778\uce58, \uc138\ub85c 8\uc778\uce58\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">4. <strong>\ub77c\uc778 \uadf8\ub798\ud504 \uadf8\ub9ac\uae30<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>plt.plot(years, seoul, marker='o', label='Seoul')\nplt.plot(years, capital_region, marker='o', label='Capital Region')\nplt.plot(years, metropolitan, marker='o', label='Metropolitan Cities')\nplt.plot(years, other_regions, marker='o', label='Other Regions')<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uac01 \ub370\uc774\ud130\uc14b\uc744 \ub77c\uc778 \uadf8\ub798\ud504\ub85c \ud45c\ud604\ud558\uba70 \uc810(marker)\uc73c\ub85c \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\ub97c \uac15\uc870\ud569\ub2c8\ub2e4.<\/li>\n\n\n\n<li><code>label<\/code>\uc740 \ubc94\ub840\uc5d0 \ud45c\uc2dc\ub420 \uc774\ub984\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">5. <strong>\ub370\uc774\ud130 \uac12 \ub808\uc774\ube14 \ucd94\uac00<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>for year, s, c, m, o in zip(years, seoul, capital_region, metropolitan, other_regions):\n    plt.text(year, s, f'{s}', ha='right')\n    plt.text(year, c, f'{c}', ha='right')\n    plt.text(year, m, f'{m}', ha='right')\n    plt.text(year, o, f'{o}', ha='right')<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>zip<\/code>\uc744 \uc0ac\uc6a9\ud574 \uc5f0\ub3c4\uc640 \uac01 \uc9c0\uc5ed \ub370\uc774\ud130\ub97c \ubb36\uc5b4 \ubc18\ubcf5 \ucc98\ub9ac\ud569\ub2c8\ub2e4.<\/li>\n\n\n\n<li><code>plt.text()<\/code>\ub294 \uac01 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \uc606\uc5d0 \uac12\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4. <code>ha='right'<\/code>\ub294 \ud14d\uc2a4\ud2b8 \uc815\ub82c\uc744 \uc624\ub978\ucabd\uc73c\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">6. <strong>\uadf8\ub798\ud504 \uc81c\ubaa9 \ubc0f \ucd95 \ub808\uc774\ube14 \ucd94\uac00<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>plt.title('Changes in Priority Compensation Amount by Region (2001-2023)')\nplt.xlabel('Year')\nplt.ylabel('Priority Compensation Amount (10,000 KRW)')<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uadf8\ub798\ud504 \uc81c\ubaa9\uacfc x\ucd95 \ubc0f y\ucd95 \ub808\uc774\ube14\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">7. <strong>\ubc94\ub840 \ubc0f \uaca9\uc790 \ucd94\uac00<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>plt.legend()\nplt.grid(True)<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>plt.legend()<\/code>: \uadf8\ub798\ud504\uc5d0 \ubc94\ub840\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n\n\n\n<li><code>plt.grid(True)<\/code>: \ubc30\uacbd\uc5d0 \uaca9\uc790\ub97c \ud45c\uc2dc\ud574 \uac00\ub3c5\uc131\uc744 \ub192\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">8. <strong>\uadf8\ub798\ud504 \ucd9c\ub825<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>plt.tight_layout()\nplt.show()<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>tight_layout()<\/code>: \uadf8\ub798\ud504 \uc694\uc18c \uac04 \uac04\uaca9\uc744 \uc790\ub3d9\uc73c\ub85c \uc870\uc815\ud569\ub2c8\ub2e4.<\/li>\n\n\n\n<li><code>show()<\/code>: \uc644\uc131\ub41c \uadf8\ub798\ud504\ub97c \ud654\uba74\uc5d0 \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774 \ucf54\ub4dc\ub294 \uc5f0\ub3c4\ubcc4\ub85c \uc9c0\uc5ed\ubcc4 \uc6b0\uc120\ubcc0\uc81c\uae08\uc561\uc758 \ubcc0\ud654\ub97c \uc2dc\uac01\uc801\uc73c\ub85c \uba85\ud655\ud788 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. \ucd08\ubcf4\uc790\ub3c4 \ub370\uc774\ud130\ub97c \uc27d\uac8c \uc774\ud574\ud560 \uc218 \uc788\ub3c4\ub85d \uac01 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc5d0 \uac12\uc744 \ud45c\uc2dc\ud558\uace0 \uae54\ub054\ud55c \uc2a4\ud0c0\uc77c\ub9c1\uc744 \uc801\uc6a9\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u542c\u8bf4\u8fc7\u300a\u4f4f\u5b85\u79df\u8d41\u4fdd\u62a4\u6cd5\u300b\u4e2d\u7684 \"\u4f18\u5148\u5b58\u6b3e\u8ba1\u5212 \"\u5417\uff1f \u8be5\u8ba1\u5212\u4fdd\u62a4\u79df\u6237\u7684\u5b58\u6b3e...<\/p>","protected":false},"author":3,"featured_media":4393,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[3],"tags":[727,726,177,164,724,725,723],"class_list":["post-4385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-coding","tag-python-line-graph","tag-python-visualization","tag-177","tag-164","tag-724","tag-725","tag-723"],"taxonomy_info":{"category":[{"value":3,"label":"\ud30c\uc774\uc36c(Python)"}],"post_tag":[{"value":727,"label":"Python Line Graph"},{"value":726,"label":"Python Visualization"},{"value":177,"label":"\ub370\uc774\ud130 \ubd84\uc11d"},{"value":164,"label":"\ub370\uc774\ud130 \uc2dc\uac01\ud654"},{"value":724,"label":"\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561"},{"value":725,"label":"\ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ucd94\uc774"},{"value":723,"label":"\ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504"}]},"featured_image_src_large":["https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/\ud30c\uc774\uc36c-\uc139\uc158_20250109_151404_0000-600x600.jpg",600,600,true],"author_info":{"display_name":"TERE","author_link":"https:\/\/secondlife.lol\/zh\/author\/tere\/"},"comment_info":0,"category_info":[{"term_id":3,"name":"\ud30c\uc774\uc36c(Python)","slug":"python-coding","term_group":0,"term_taxonomy_id":3,"taxonomy":"category","description":"","parent":20,"count":117,"filter":"raw","cat_ID":3,"category_count":117,"category_description":"","cat_name":"\ud30c\uc774\uc36c(Python)","category_nicename":"python-coding","category_parent":20}],"tag_info":[{"term_id":727,"name":"Python Line Graph","slug":"python-line-graph","term_group":0,"term_taxonomy_id":727,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":726,"name":"Python Visualization","slug":"python-visualization","term_group":0,"term_taxonomy_id":726,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":177,"name":"\ub370\uc774\ud130 \ubd84\uc11d","slug":"%eb%8d%b0%ec%9d%b4%ed%84%b0-%eb%b6%84%ec%84%9d","term_group":0,"term_taxonomy_id":177,"taxonomy":"post_tag","description":"","parent":0,"count":36,"filter":"raw"},{"term_id":164,"name":"\ub370\uc774\ud130 \uc2dc\uac01\ud654","slug":"%eb%8d%b0%ec%9d%b4%ed%84%b0-%ec%8b%9c%ea%b0%81%ed%99%94","term_group":0,"term_taxonomy_id":164,"taxonomy":"post_tag","description":"","parent":0,"count":52,"filter":"raw"},{"term_id":724,"name":"\uc8fc\ud0dd\uc784\ub300\ucc28\ubcf4\ud638\ubc95 \ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561","slug":"%ec%a3%bc%ed%83%9d%ec%9e%84%eb%8c%80%ec%b0%a8%eb%b3%b4%ed%98%b8%eb%b2%95-%ec%b5%9c%ec%9a%b0%ec%84%a0%eb%b3%80%ec%a0%9c%ea%b8%88%ec%95%a1","term_group":0,"term_taxonomy_id":724,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":725,"name":"\ucd5c\uc6b0\uc120\ubcc0\uc81c\uae08\uc561 \ucd94\uc774","slug":"%ec%b5%9c%ec%9a%b0%ec%84%a0%eb%b3%80%ec%a0%9c%ea%b8%88%ec%95%a1-%ec%b6%94%ec%9d%b4","term_group":0,"term_taxonomy_id":725,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":723,"name":"\ud30c\uc774\uc36c \uc120\uadf8\ub798\ud504","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%84%a0%ea%b7%b8%eb%9e%98%ed%94%84","term_group":0,"term_taxonomy_id":723,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/comments?post=4385"}],"version-history":[{"count":8,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4385\/revisions"}],"predecessor-version":[{"id":4398,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4385\/revisions\/4398"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/media\/4393"}],"wp:attachment":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/media?parent=4385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/categories?post=4385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/tags?post=4385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}