{"id":2913,"date":"2023-07-20T03:17:30","date_gmt":"2023-07-20T03:17:30","guid":{"rendered":"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/"},"modified":"2023-07-20T03:17:30","modified_gmt":"2023-07-20T03:17:30","slug":"ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/","title":{"rendered":"Ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\"><a href=\"https:\/\/ggplot2.tidyverse.org\/\" target=\"_blank\" rel=\"noopener\">ggplot2<\/a>\u5305<\/span><\/span><span style=\"color: #000000;\">\u5305\u542b\u4e00\u4e2a\u9ed8\u8ba4\u989c\u8272\u5217\u8868\uff0c\u5b83\u6839\u636e\u5143\u7d20\u603b\u6570\u7528\u4e8e\u7ed8\u56fe\u4e2d\u7684\u5143\u7d20\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f8b\u5982\uff0c\u4ee5\u4e0b\u4ee3\u7801\u663e\u793a\u5982\u4f55\u521b\u5efa\u5305\u542b\u4e09\u4e2a\u6761\u5f62\u7684\u6761\u5f62\u56fe\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">library<\/span> (ggplot2)\n<\/span>\n#create data frame\n<span style=\"color: #000000;\">df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (team=c('A', 'B', 'C'),\n                 dots=c(22, 28, 15))<\/span>\n\n#create bar plot using df\n<span style=\"color: #000000;\">ggplot(df, aes(x=team, y=points, fill=team)) +\n  geom_bar(stat = \" <span style=\"color: #ff0000;\">identity<\/span> \")<\/span><\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-25372 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/teinte1-1.jpg\" alt=\"\" width=\"440\" height=\"450\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cggplot2 \u9009\u62e9\u5bf9\u6761\u5f62\u56fe\u4f7f\u7528\u7279\u5b9a\u7684\u7ea2\u8272\u3001\u7eff\u8272\u548c\u84dd\u8272\u9634\u5f71\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<strong>scales<\/strong>\u5305\u4e2d\u7684<strong>hue_pal()<\/strong>\u6765\u63d0\u53d6\u56fe\u4e2d\u4f7f\u7528\u7684\u5b9e\u9645\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (scales)\n\n<span style=\"color: #008080;\">#extract hex color codes for a plot with three elements in ggplot2<\/span> \nhex &lt;- hue_pal()( <span style=\"color: #008000;\">3<\/span> )\n\n<span style=\"color: #008080;\">#display hex color codes\n<\/span>hex\n\n[1] \"#F8766D\" \"#00BA38\" \"#619CFF\"\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u662f\u5982\u4f55\u89e3\u91ca\u7ed3\u679c\uff1a<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u56fe\u4e2d\u7ea2\u8272\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\u662f<strong>#F8766D<\/strong> \u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u56fe\u4e2d\u7eff\u8272\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\u662f<strong>#00BA38<\/strong> \u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u56fe\u4e2d\u84dd\u8272\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\u662f<strong>#619CFF<\/strong> \u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528<strong>scales<\/strong>\u5305\u4e2d\u7684<strong>show_col()<\/strong>\u5c06\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\u8986\u76d6\u5230\u5b83\u4eec\u7684\u5b9e\u9645\u989c\u8272\u4e0a\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (scales)\n\n<span style=\"color: #008080;\">#extract hex color codes for a plot with three elements in ggplot2<\/span> \nhex &lt;- hue_pal()( <span style=\"color: #008000;\">3<\/span> )\n\n<span style=\"color: #008080;\">#overlay hex color codes on actual colors\n<\/span>show_col(hex)\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-25373\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/teinte2-1.jpg\" alt=\"ggplot2 \u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\" width=\"460\" height=\"461\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u521b\u5efa\u4e00\u4e2a\u56fe\uff0c\u8be5\u56fe\u663e\u793a\u5177\u6709\u4e00\u5230\u516b\u4e2a\u5143\u7d20\u7684\u56fe\u7684\u9ed8\u8ba4 ggplot2 \u989c\u8272\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (scales)\n\n<span style=\"color: #008080;\">#set margins of plot area\n<\/span>by(may = c(0.1, 0, 0.1, 0), bg = \" <span style=\"color: #ff0000;\">grey85<\/span> \")\n\n<span style=\"color: #008080;\">#create plot with ggplot2 default colors from 1 to 8\n<\/span>gc. <span style=\"color: #3366ff;\">grid<\/span> &lt;- layout(matrix(1:8, nrow = <span style=\"color: #008000;\">8<\/span> ))\n<span style=\"color: #008000;\">for<\/span> (i <span style=\"color: #008000;\">in<\/span> 1:8){\n   gc. <span style=\"color: #3366ff;\">ramp<\/span> &lt;- hue_pal()(i)\n   plot(c(0, 8), c(0,1),\n        type=\" <span style=\"color: #ff0000;\">n<\/span> \", \n        bty=\" <span style=\"color: #ff0000;\">n<\/span> \", \n        xaxt=\" <span style=\"color: #ff0000;\">n<\/span> \", \n        yaxt=\" <span style=\"color: #ff0000;\">n<\/span> \", xlab=\"\", ylab=\"\")\n   <span style=\"color: #008000;\">for<\/span> (j <span style=\"color: #008000;\">in<\/span> 1:i){\n      rect(j - 1, 0, j - 0.25, 1, col = gc. <span style=\"color: #3366ff;\">ramp<\/span> [j])\n   }\n}<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-25374 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/teinte3.jpg\" alt=\"ggplot2\u9ed8\u8ba4\u989c\u8272\" width=\"454\" height=\"454\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u6765\u663e\u793a\u56fe\u4e2d\u663e\u793a\u7684\u6bcf\u79cd\u989c\u8272\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (scales)\n\n<span style=\"color: #008080;\">#display ggplot2 default hex color codes from 1 to 8\n<\/span><span style=\"color: #008000;\">for<\/span> (i <span style=\"color: #008000;\">in<\/span> 1:8){\n  <span style=\"color: #008000;\">print<\/span> (hue_pal()(i))\n}\n\n[1] \"#F8766D\"\n[1] \"#F8766D\" \"#00BFC4\"\n[1] \"#F8766D\" \"#00BA38\" \"#619CFF\"\n[1] \"#F8766D\" \"#7CAE00\" \"#00BFC4\" \"#C77CFF\"\n[1] \"#F8766D\" \"#A3A500\" \"#00BF7D\" \"#00B0F6\" \"#E76BF3\"\n[1] \"#F8766D\" \"#B79F00\" \"#00BA38\" \"#00BFC4\" \"#619CFF\" \"#F564E3\"\n[1] \"#F8766D\" \"#C49A00\" \"#53B400\" \"#00C094\" \"#00B6EB\" \"#A58AFF\" \"#FB61D7\"\n[1] \"#F8766D\" \"#CD9600\" \"#7CAE00\" \"#00BE67\" \"#00BFC4\" \"#00A9FF\" \"#C77CFF\" \"#FF61CC\"\n<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u5176\u4ed6\u8d44\u6e90<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u6559\u7a0b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u5176\u4ed6\u5e38\u89c1\u64cd\u4f5c\uff1a<\/span><\/p>\n<p><a href=\"https:\/\/statorials.org\/cn\/\u6700\u597d\u7684-ggplot2-\u4e3b\u9898\/\" target=\"_blank\" rel=\"noopener\">\u6700\u4f73 ggplot2 \u4e3b\u9898\u7684\u5b8c\u6574\u6307\u5357<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/ggplot2\u56fe\u4f8b\u7684\u5927\u5c0f\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u66f4\u6539ggplot2\u4e2d\u7684\u56fe\u4f8b\u5927\u5c0f<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/\u5220\u9664-ggplot2-\u56fe\u4f8b\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5220\u9664ggplot2\u4e2d\u7684\u56fe\u4f8b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ggplot2\u5305\u5305\u542b\u4e00\u4e2a\u9ed8\u8ba4\u989c\u8272\u5217\u8868\uff0c\u5b83\u6839\u636e\u5143\u7d20\u603b\u6570\u7528\u4e8e\u7ed8\u56fe\u4e2d\u7684\u5143\u7d20\u3002 \u4f8b\u5982\uff0c\u4ee5\u4e0b\u4ee3\u7801\u663e\u793a\u5982\u4f55\u521b\u5efa\u5305\u542b\u4e09\u4e2a\u6761\u5f62 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-2913","post","type-post","status-publish","format-standard","hentry","category-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357 - Statorials<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u63d0\u4f9b\u4e86\u5728 R \u4e2d\u4f7f\u7528 ggplot2 \u5305\u7684\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357\uff0c\u5305\u62ec\u51e0\u4e2a\u793a\u4f8b\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/cn\/ggplot\u9ed8\u8ba4\u989c\u8272\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357 - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u63d0\u4f9b\u4e86\u5728 R \u4e2d\u4f7f\u7528 ggplot2 \u5305\u7684\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357\uff0c\u5305\u62ec\u51e0\u4e2a\u793a\u4f8b\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/ggplot\u9ed8\u8ba4\u989c\u8272\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-20T03:17:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/teinte1-1.jpg\" \/>\n<meta name=\"author\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/\",\"url\":\"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/\",\"name\":\"ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357 - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-20T03:17:30+00:00\",\"dateModified\":\"2023-07-20T03:17:30+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u63d0\u4f9b\u4e86\u5728 R \u4e2d\u4f7f\u7528 ggplot2 \u5305\u7684\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357\uff0c\u5305\u62ec\u51e0\u4e2a\u793a\u4f8b\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/cn\/#website\",\"url\":\"https:\/\/statorials.org\/cn\/\",\"name\":\"Statorials\",\"description\":\"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\",\"name\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\"},\"description\":\"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a\",\"sameAs\":[\"https:\/\/statorials.org\/cn\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357 - Statorials","description":"\u672c\u6559\u7a0b\u63d0\u4f9b\u4e86\u5728 R \u4e2d\u4f7f\u7528 ggplot2 \u5305\u7684\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357\uff0c\u5305\u62ec\u51e0\u4e2a\u793a\u4f8b\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/cn\/ggplot\u9ed8\u8ba4\u989c\u8272\/","og_locale":"zh_CN","og_type":"article","og_title":"ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357 - Statorials","og_description":"\u672c\u6559\u7a0b\u63d0\u4f9b\u4e86\u5728 R \u4e2d\u4f7f\u7528 ggplot2 \u5305\u7684\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357\uff0c\u5305\u62ec\u51e0\u4e2a\u793a\u4f8b\u3002","og_url":"https:\/\/statorials.org\/cn\/ggplot\u9ed8\u8ba4\u989c\u8272\/","og_site_name":"Statorials","article_published_time":"2023-07-20T03:17:30+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/teinte1-1.jpg"}],"author":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/","url":"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/","name":"ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357 - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-20T03:17:30+00:00","dateModified":"2023-07-20T03:17:30+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u63d0\u4f9b\u4e86\u5728 R \u4e2d\u4f7f\u7528 ggplot2 \u5305\u7684\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357\uff0c\u5305\u62ec\u51e0\u4e2a\u793a\u4f8b\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/ggplot%e9%bb%98%e8%ae%a4%e9%a2%9c%e8%89%b2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"Ggplot2 \u4e2d\u9ed8\u8ba4\u989c\u8272\u7684\u5b8c\u6574\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/cn\/#website","url":"https:\/\/statorials.org\/cn\/","name":"Statorials","description":"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261","name":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a"},"description":"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a","sameAs":["https:\/\/statorials.org\/cn"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/2913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/comments?post=2913"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/2913\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=2913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=2913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=2913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}