{"id":54291,"date":"2024-06-16T13:51:22","date_gmt":"2024-06-16T05:51:22","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=54291"},"modified":"2024-06-16T13:51:22","modified_gmt":"2024-06-16T05:51:22","slug":"%e6%83%b3%e8%a6%81%e5%ad%a6%e4%b9%a0r%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96%ef%bc%8c%e5%b8%88%e5%a6%b9%e5%b8%a6%e4%bd%a0%e8%a7%81%e8%af%86ggplot2%e4%b9%8b%e6%a0%87%e5%ba%a6%ef%bc%88%e4%b8%80","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=54291","title":{"rendered":"\u60f3\u8981\u5b66\u4e60R\u6570\u636e\u53ef\u89c6\u5316\uff0c\u5e08\u59b9\u5e26\u4f60\u89c1\u8bc6ggplot2\u4e4b\u6807\u5ea6\uff08\u4e00\uff09"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u60f3\u8981\u5b66\u4e60R\u6570\u636e\u53ef\u89c6\u5316\uff0c\u5e08\u59b9\u5e26\u4f60\u89c1\u8bc6ggplot2\u4e4b\u6807\u5ea6\uff08\u4e00\uff09\",\"time\":\"2023-08-03 19:00:28\",\"timeStamp\":\"1691060428\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247491006&#038;idx=4&#038;sn=1e5173063bc61e55f6a2aa176c05c5ea&#038;chksm=cf7c8d7bf80b046dcf56f0711822f8ea2b2642f3e03a9f64576c2a7425d87ba55e8c9aabb157#rd\" target=\"_blank\" rel=\"noopener\">\u60f3\u8981\u5b66\u4e60R\u6570\u636e\u53ef\u89c6\u5316\uff0c\u5e08\u59b9\u5e26\u4f60\u89c1\u8bc6ggplot2\u4e4b\u6807\u5ea6\uff08\u4e00\uff09<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u5e08\u59b9&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2023-08-03 19:00:28<\/em><\/div>\n<p><content><\/p>\n<div class=\"reprint\">\n<p>\u8f6c\u81ea\u516c\u4f17\u53f7\uff1aR\u8bed\u8a00\u5b66\u5f92<br \/><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484816&#038;idx=1&#038;sn=78b14c4d5034a0e5d1dc5ec6dbabaecb\" target=\"_blank\" title=\"\u9605\u8bfb\u539f\u6587\" rel=\"noopener\">http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MDk3Mzg4OA==&#038;mid=2247484816&#038;idx=1&#038;sn=78b14c4d5034a0e5d1dc5ec6dbabaecb<\/a><\/p>\n<\/div>\n<section style=\"font-size: 16px;margin-bottom: 24px;\">\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: center;line-height: 0;margin-top: 14px;\">\n<section style=\"margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;\">\n<section style=\"margin-bottom: -6px;line-height: 1em;padding-right: 5px;padding-left: 5px;font-size: 19px;letter-spacing: 1px;color: rgb(234, 97, 99);\">\n<p><strong>\u70b9\u51fb\u84dd\u5b57 \u5173\u6ce8\u6211\u4eec<\/strong><\/p>\n<\/section>\n<section style=\"width: 100%;height: 10px;background-color: rgba(249, 192, 192, 0.39);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: flex;flex-flow: row nowrap;text-align: right;justify-content: flex-end;margin-top: 7px;margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-right: -10px;margin-left: -10px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-left: -10px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgb(239, 135, 135) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;flex: 0 0 0%;height: auto;align-self: flex-start;border-width: 0px;margin-top: -16px;margin-left: -10px;\">\n<section style=\"text-align: center;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 33px;height: 25px;vertical-align: top;overflow: hidden;border-style: solid;border-width: 2px;border-radius: 50%;border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgb(239, 135, 135);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;align-self: center;min-width: 5%;flex: 0 0 auto;height: auto;margin-left: 10px;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\">\u5c0f\u5e08\u59b9\u5728\u524d\u9762\u5e26\u5927\u5bb6\u521d\u6b65\u8ba4\u8bc6\u4e86ggplot2\u8fd9\u4e2a\u795e\u5947\u7684R\u5305\uff0c\u6211\u4eec\u5b66\u4e60\u4e86\u5176\u4e2d\u7684\u4e00\u4e9b\u5e38\u7528\u51fd\u6570\uff0c\u4e5f\u7528\u5176\u81ea\u5e26\u7684\u6570\u636e\u96c6\u505a\u4e86\u4e00\u4e9b\u56fe\u7247\uff0c\u5982\u679c\u8fd8\u6ca1\u6709\u67e5\u770b\u524d\u9762\u6587\u7ae0\u7684\u5c0f\u4f19\u4f34\u5462\uff0c\u5c0f\u5e08\u59b9\u5efa\u8bae\u5148\u79fb\u6b65\u5b66\u4e60\u4e00\u4e0b\u54e6\u3002<\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\">\u6beb\u65e0\u7591\u95ee\uff0c\u5bf9\u4e8eggplot2\u7684\u5b66\u4e60\u8fd8\u8fdc\u8fdc\u6ca1\u6709\u7ed3\u675f\uff0c\u6240\u4ee5\u5c0f\u5e08\u59b9\u4eca\u5929\u7ee7\u7eed\u5e26\u5927\u5bb6\u5b66\u4e60ggplot2\u7684\u6807\u5ea6\uff08scale\uff09\u3002\u6807\u5ea6\u7528\u4e8e\u5c06\u6570\u636e\u6620\u5c04\u5230\u56fe\u5f62\u7684\u53ef\u89c6\u5316\u5c5e\u6027\uff0c\u5982\u989c\u8272\u3001\u5927\u5c0f\u3001\u5f62\u72b6\u7b49\u3002\u6807\u5ea6\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5c06\u6570\u636e\u8f6c\u6362\u4e3a\u9002\u5408\u53ef\u89c6\u5316\u7684\u5f62\u5f0f\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u4e9b\u53c2\u6570\u548c\u9009\u9879\u6765\u8c03\u6574\u53ef\u89c6\u5316\u6548\u679c\u3002\u6bcf\u4e2a\u6807\u5ea6\u90fd\u6709\u4e00\u4e2a\u5bf9\u5e94\u7684\u51fd\u6570\uff0c\u7528\u4e8e\u5c06\u6570\u636e\u7a7a\u95f4\u7684\u503c\uff08\u5373\u51fd\u6570\u7684\u5b9a\u4e49\u57df\uff09\u6620\u5c04\u5230\u56fe\u5f62\u5c5e\u6027\u7a7a\u95f4\uff08\u5373\u51fd\u6570\u7684\u503c\u57df\uff09\u3002\u901a\u8fc7\u4f7f\u7528\u8fd9\u4e9b\u51fd\u6570\uff0c\u5c31\u80fd\u591f\u5c06\u6211\u4eec\u7684\u6570\u636e\u4e0e\u56fe\u5f62\u5c5e\u6027\u8fde\u63a5\u8d77\u6765\u3002\u90a3\u4e48\u63a5\u4e0b\u6765\u5c0f\u5e08\u59b9\u5c31\u4ece\u6807\u5ea6\u51fd\u6570\u5f00\u59cb\u8bb2\u8d77\u5427\u3002<\/p>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;min-width: 5%;flex: 0 0 auto;height: auto;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 31px;height: 31px;vertical-align: top;overflow: hidden;background-position: 50% 50%;background-repeat: no-repeat;background-size: contain;background-attachment: scroll;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1UN6nuocFSoCORGoQ06FNGZZZg2F2EPQLWicXwxNTXAgHojspjFsdJAA\/640?wx_fmt=png&quot;);\">\n<section style=\"margin-top: 4px;\" powered-by=\"xiumi.us\">\n<section style=\"color: rgb(255, 255, 255);\">\n<p><strong>1<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;align-self: flex-start;flex: 0 0 auto;min-width: 5%;height: auto;border-style: solid solid dashed;border-width: 0px 0px 1px;border-bottom-color: rgb(65, 182, 182);margin-left: 18px;\">\n<section style=\"text-align: justify;font-size: 18px;color: rgb(248, 140, 165);\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\u6807\u5ea6\u51fd\u6570\u4ecb\u7ecd<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"color: rgb(249, 110, 87);\" powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\"><strong>\u5c0f\u5e08\u59b9\u7ed9\u5927\u5bb6\u6574\u7406\u4e86\u4e00\u4e9b\u5e38\u7528\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/strong><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>1.scale_x_continuous() \/ scale_y_continuous(): <\/strong>\u8fde\u7eed\u578b\u53d8\u91cf\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574x\u8f74\u6216y\u8f74\u7684\u523b\u5ea6\u548c\u6807\u7b7e\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>2.scale_x_discrete() \/ scale_y_discrete(): <\/strong>\u79bb\u6563\u578b\u53d8\u91cf\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574x\u8f74\u6216y\u8f74\u7684\u523b\u5ea6\u548c\u6807\u7b7e\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>3.scale_color_continuous() \/ scale_color_discrete():<\/strong> \u989c\u8272\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574\u56fe\u5f62\u4e2d\u5143\u7d20\u7684\u989c\u8272\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>4.scale_fill_continuous() \/ scale_fill_discrete(): <\/strong>\u586b\u5145\u989c\u8272\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574\u56fe\u5f62\u4e2d\u5143\u7d20\u7684\u586b\u5145\u989c\u8272\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>5.scale_size_continuous() \/ scale_size_discrete(): <\/strong>\u5927\u5c0f\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574\u56fe\u5f62\u4e2d\u5143\u7d20\u7684\u5927\u5c0f\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>6.scale_shape_continuous() \/ scale_shape_discrete():<\/strong> \u5f62\u72b6\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574\u56fe\u5f62\u4e2d\u5143\u7d20\u7684\u5f62\u72b6\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>7.scale_linetype_continuous() \/ scale_linetype_discrete(): <\/strong>\u7ebf\u578b\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574\u56fe\u5f62\u4e2d\u5143\u7d20\u7684\u7ebf\u578b\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>8.scale_alpha_continuous() \/ scale_alpha_discrete():<\/strong> \u900f\u660e\u5ea6\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574\u56fe\u5f62\u4e2d\u5143\u7d20\u7684\u900f\u660e\u5ea6\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>9.scale_date(): <\/strong>\u65e5\u671f\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u7528\u4e8e\u8c03\u6574\u65e5\u671f\u53d8\u91cf\u7684\u663e\u793a\u683c\u5f0f\u548c\u523b\u5ea6\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>10.scale_manual(): <\/strong>\u624b\u52a8\u8bbe\u7f6e\u6807\u5ea6\u503c\u7684\u6807\u5ea6\u51fd\u6570\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u989c\u8272\u3001\u5927\u5c0f\u3001\u5f62\u72b6\u7b49\u5c5e\u6027\u7684\u53d6\u503c\u3002<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<\/section>\n<section style=\"color: rgb(249, 110, 87);\" powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\"><strong>\u5982\u4e0a\u5462\u662f\u5c0f\u5e08\u59b9\u6574\u7406\u7684\u4e00\u4e9b\u5e38\u7528\u7684\u6807\u5ea6\u51fd\u6570\u5566\uff0c\u5176\u5b9e\u6807\u5ea6\u51fd\u6570\u5927\u81f4\u53ef\u4ee5\u5206\u4e3a\u4ee5\u4e0b\u56db\u7c7b\uff1a<\/strong><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\uff081\uff09\u4f4d\u7f6e\u6807\u5ea6\uff1a<\/strong>\u7528\u4e8e\u5750\u6807\u8f74\u7684\u63a7\u5236\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>\uff082\uff09\u989c\u8272\u6807\u5ea6\uff1a<\/strong>\u5c06\u6570\u636e\u53d8\u91cf\u6620\u5c04\u5230\u989c\u8272\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>\uff083\uff09\u81ea\u5b9a\u4e49\u6807\u5ea6(manual)\uff1a<\/strong>\u624b\u52a8\u81ea\u5b9a\u4e49\u6570\u636e\u5230\u56fe\u5f62\u5c5e\u6027\u7684\u6620\u5c04\u5173\u7cfb\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>\uff084\uff09\u975e\u6620\u5c04\u6807\u5ea6(identity)\uff1a<\/strong>\u76f4\u63a5\u5c06\u53d8\u91cf\u503c\u4f5c\u4e3a\u56fe\u5f62\u5c5e\u6027\u503c\u4f7f\u7528\uff0c\u4e0d\u505a\u6620\u5c04\u3002\u4f8b\u5982\uff0c\u67d0\u4e9b\u53d8\u91cf\u503c\u672c\u8eab\u4ee3\u8868\u7684\u503c\u989c\u8272\u503c\uff08\u5982 red\u3001blue \u7b49\uff09\uff0c\u4e0d\u9700\u8981\u518d\u8fdb\u884c\u8f6c\u6362\u4e86\u3002<\/p>\n<\/section>\n<section style=\"color: rgb(249, 110, 87);\" powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\"><br  \/><\/p>\n<p style=\"text-indent: 0em;white-space: normal;\"><strong>\u8fd9\u4e9b\u6807\u5ea6\u51fd\u6570\u5462\uff0c\u6709\u51e0\u4e2a\u5171\u6709\u7684\u53c2\u6570\uff0c\u5c0f\u5e08\u59b9\u5148\u7ed9\u5927\u5bb6\u5217\u4e3e\u51fa\u6765\u7136\u540e\u5728\u4e3e\u51e0\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a<\/strong><\/p>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\uff081\uff09name\uff1a<\/strong>\u8bbe\u7f6e\u5750\u6807\u8f74\u548c\u56fe\u4f8b\u4e0a\u7684\u6807\u7b7e\uff0c\u53ef\u4ee5\u662f\u5b57\u7b26\u4e32\u6216\u6570\u5b66\u8868\u8fbe\u503c\u3002\u4f46\u6211\u4eec\u4e00\u822c\u4f1a\u4f7f\u7528 labs()\u3001xlab()\u6216ylab()\u6765\u8bbe\u7f6e\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>\uff082\uff09limits<\/strong>\uff1a\u9650\u5236\u5b9a\u4e49\u57df\u7684\u8303\u56f4\uff0c\u4e0d\u5728\u8be5\u8303\u56f4\u7684\u6570\u636e\u5c06\u4f1a\u88ab\u5220\u9664\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>\uff083\uff09breaks\uff1a<\/strong>\u7528\u4e8e\u63a7\u5236\u5728\u5750\u6807\u8f74\u6216\u56fe\u4f8b\u4e0a\u663e\u793a\u7684\u503c\uff0c\u5373\u5750\u6807\u8f74\u7684\u523b\u5ea6\uff0c\u5982\u679c\u662f\u8fde\u7eed\u578b\u6570\u636e\uff0c\u5219\u4f1a\u5bf9\u6570\u636e\u8fdb\u884c\u5206\u7bb1\u3002<\/p>\n<p style=\"white-space: normal;\"><strong>\uff084\uff09labels\uff1a<\/strong>\u7528\u4e8e\u8bbe\u7f6e\u65ad\u70b9\u5904\u7684\u6807\u7b7e\uff0c\u8981\u8bbe\u7f6e labels \u5fc5\u987b\u540c\u65f6\u8bbe\u7f6e breaks\u3002<\/p>\n<p style=\"white-space: normal;\"><br  \/><\/p>\n<\/section>\n<section style=\"color: rgb(249, 110, 87);\" powered-by=\"xiumi.us\">\n<p style=\"text-indent: 0em;white-space: normal;\"><strong>\u5c0f\u5e08\u59b9\u8fd8\u662f\u7528ggplot2\u81ea\u5e26\u7684\u6570\u636e\u96c6\u6765\u4e3e\u4f8b\u3002<\/strong><\/p>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\"><strong>\u4f8b\u4e00\uff1a<\/strong><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">&gt; ggplot(mtcars) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ geom_bar(aes(mpg)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ scale_x_binned(name = <span class=\"code-snippet__built_in\">expression<\/span>(xiaoguo1))<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7602339181286549\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_qmKMXNRk5icpY9nh48adsnicx695Hw.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1jebtqa4zJgAqribKx04oa8AzWQoqmKMXNRk5icpY9nh48adsnicx695Hw\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"855\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\"><strong>\u4f8b\u4e8c\uff1a<\/strong><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">&gt; ggplot(mtcars) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ geom_bar(aes(mpg)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ scale_x_binned() +<\/span><\/code><code><span class=\"code-snippet_outer\">+ labs(title = <span class=\"code-snippet__string\">\"xiao guo sheng xin\"<\/span>, tag = <span class=\"code-snippet__string\">\"R\"<\/span>, x = <span class=\"code-snippet__built_in\">expression<\/span>(xiaoguo2))<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7581018518518519\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/2_PVm5OMwJNibFSnbLMr5qmiatP7zs8A.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1nDEKjYYsMMqILVMEUjT9E257aqPVm5OMwJNibFSnbLMr5qmiatP7zs8A\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"864\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\"><strong>\u4f8b\u4e09\uff1a<\/strong><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">&gt; ggplot(mtcars) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ geom_bar(aes(mpg)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ scale_x_binned(name = <span class=\"code-snippet__built_in\">expression<\/span>(xiaoguo3), limits = <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">10<\/span>, <span class=\"code-snippet__number\">30<\/span>), )<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7578947368421053\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_ChQOibCibIyfEvnWbHCcNygEdPq9SQ.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1g3OfiaQ4EA0xicsUMxwB4ibaicgXKoChQOibCibIyfEvnWbHCcNygEdPq9SQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"855\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\"><strong>\u4f8b\u56db\uff1a<\/strong><br  \/><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">&gt; ggplot(mtcars) ++ geom_bar(aes(mpg)) +<\/span><\/code><code><span class=\"code-snippet_outer\">+ scale_x_binned(name = <span class=\"code-snippet__built_in\">expression<\/span>(xiaoguo4), limits = <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__number\">10<\/span>, <span class=\"code-snippet__number\">30<\/span>),<\/span><\/code><code><span class=\"code-snippet_outer\">+ breaks = seq(<span class=\"code-snippet__number\">10<\/span>, <span class=\"code-snippet__number\">30<\/span>, <span class=\"code-snippet__number\">4<\/span>), labels = <span class=\"code-snippet__built_in\">c<\/span>(<span class=\"code-snippet__string\">\"A\"<\/span>, <span class=\"code-snippet__string\">'B'<\/span>, <span class=\"code-snippet__string\">'C'<\/span>, <span class=\"code-snippet__string\">'D'<\/span>, <span class=\"code-snippet__string\">'E'<\/span>, <span class=\"code-snippet__string\">'F'<\/span>),)<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7567251461988304\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/4_BY2fWSjLRNbqiagjVCNOd0WNdPUn7A.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1sR9v7y0S4Mj5VnmHEuvH8uYm9BY2fWSjLRNbqiagjVCNOd0WNdPUn7A\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"855\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;min-width: 5%;flex: 0 0 auto;height: auto;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 31px;height: 31px;vertical-align: top;overflow: hidden;background-position: 50% 50%;background-repeat: no-repeat;background-size: contain;background-attachment: scroll;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1UN6nuocFSoCORGoQ06FNGZZZg2F2EPQLWicXwxNTXAgHojspjFsdJAA\/640?wx_fmt=png&quot;);\">\n<section style=\"margin-top: 4px;\" powered-by=\"xiumi.us\">\n<section style=\"color: rgb(255, 255, 255);\">\n<p><strong>2<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;align-self: flex-start;flex: 0 0 auto;min-width: 5%;height: auto;border-style: solid solid dashed;border-width: 0px 0px 1px;border-bottom-color: rgb(65, 182, 182);margin-left: 18px;\">\n<section style=\"text-align: justify;font-size: 18px;color: rgb(248, 140, 165);\" powered-by=\"xiumi.us\">\n<p style=\"white-space: normal;\"><strong>\u8bbe\u7f6e\u56fe\u8868\u4fe1\u606f<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"white-space: normal;\" powered-by=\"xiumi.us\"><span style=\"text-indent: 0em;\">labs()\u51fd\u6570\u7528\u4e8e\u8bbe\u7f6e\u56fe\u5f62\u7684\u6807\u9898\u548c\u8f74\u6807\u7b7e\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u56fe\u8868\u7684\u4e00\u4e9b\u4fe1\u606f\uff0c\u5982\u6807\u9898\uff08title\uff09\u3001\u5b50\u6807\u9898\uff08subtitle\uff09\uff0c\u6216\u4f7f\u7528 caption \u6765\u63d0\u4f9b\u6570\u636e\u6765\u6e90\u4fe1\u606f\u7b49\u3002<\/span><br  \/><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">labs(<\/span><\/code><code><span class=\"code-snippet_outer\">...,<\/span><\/code><code><span class=\"code-snippet_outer\">title = waiver(),<\/span><\/code><code><span class=\"code-snippet_outer\">subtitle = waiver(),<\/span><\/code><code><span class=\"code-snippet_outer\">caption = waiver(),<\/span><\/code><code><span class=\"code-snippet_outer\">tag = waiver()<\/span><\/code><code><span class=\"code-snippet_outer\">)<\/span><\/code><code><span class=\"code-snippet_outer\">xlab(label)<\/span><\/code><code><span class=\"code-snippet_outer\">ylab(label)<\/span><\/code><code><span class=\"code-snippet_outer\">ggtitle(label, subtitle = waiver())<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-indent: 0em;white-space: normal;\" powered-by=\"xiumi.us\">\u5c0f\u5e08\u59b9\u6765\u4e3e\u51e0\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u8ba9\u5927\u5bb6\u611f\u53d7\u4e00\u4e0b\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">&gt; p &lt;- ggplot(mtcars, aes(mpg, wt, colour = cyl))<\/span><\/code><code><span class=\"code-snippet_outer\">&gt; p + geom_point()<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7663551401869159\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/5_arWntibNALyEtwyAAaNY46ic5kkC3w.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1Uqg72WtHibGcSOZgicYfQxyUKibbXarWntibNALyEtwyAAaNY46ic5kkC3w\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"856\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">&gt; p2 &lt;- p + labs(x = <span class=\"code-snippet__string\">\"xiao guo\"<\/span>,colour = <span class=\"code-snippet__string\">\"Cydr\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">&gt; p2 + geom_point()<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7632508833922261\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/6_000mP205UjL7gYZjMceJtE4deMVy3Q.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1DCqb6kUBCYefgodlBkiaUmInr000mP205UjL7gYZjMceJtE4deMVy3Q\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"849\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"r\"><code><span class=\"code-snippet_outer\">&gt; p3 &lt;- p + labs(title = <span class=\"code-snippet__string\">\"xiao guo\"<\/span>, subtitle = <span class=\"code-snippet__string\">\"sheng xin\"<\/span>,caption = <span class=\"code-snippet__string\">\"(make great efforts)\"<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">&gt; p3 + geom_point()<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7604651162790698\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/7_6vEeicvQcPFWGOSvTM06Vhqhp9zB4Q.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1sDCwHlA8kPYicqgT5eTm7icETZb6vEeicvQcPFWGOSvTM06Vhqhp9zB4Q\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"860\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<p style=\"text-indent: 0em;white-space: normal;\" powered-by=\"xiumi.us\">\u7ecf\u8fc7\u5c0f\u5e08\u59b9\u7684\u7ec6\u5fc3\u4ecb\u7ecd\u5c0f\u4f19\u4f34\u4eec\u5bf9\u6807\u5ea6\u51fd\u6570\u662f\u5426\u6709\u4e86\u521d\u6b65\u7684\u4e86\u89e3\u5462\uff0c\u5c0f\u5e08\u59b9\u63a5\u4e0b\u6765\u8fd8\u4f1a\u7ee7\u7eed\u6df1\u5165\u7684\u8bb2\u89e3\u6807\u5ea6\u51fd\u6570\uff0c\u5c0f\u4f19\u4f34\u4eec\u8981\u7ee7\u7eed\u5173\u6ce8\u5c0f\u5e08\u59b9\u7684\u6587\u7ae0\u54e6\uff0c\u90a3\u4eca\u5929\u5c0f\u5e08\u59b9\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\u5566\uff0c\u518d\u4f1a\u5566\u3002<\/p>\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row nowrap;margin-top: 10px;margin-bottom: 5px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: top;width: auto;align-self: flex-start;flex: 0 0 auto;min-width: 5%;height: auto;\">\n<section style=\"margin-top: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 19px;height: auto;\"><img decoding=\"async\" data-ratio=\"0.8379629629629629\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/8_RAibU9lITjQbtiabS9DraEvunsibGA.png?w=640\" onerror=\"this.src='\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-03_\u300c\u8f6c\u300d\u60f3\u8981\u5b66\u4e60R\u6570\u636e\u53ef\u89c6\u5316\uff0c\u5e08\u59b9\u5e26\u4f60\u89c1\u8bc6ggplot2\u4e4b\u6807\u5ea6\uff08\u4e00\uff09\/9_RAibU9lITjQbtiabS9DraEvunsibGA.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn137PDrzwmObibgds7NXlCIUJIvD6WRAibU9lITjQbtiabS9DraEvunsibGA\/640?wx_fmt=png''\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: auto;align-self: flex-start;flex: 0 0 auto;min-width: 5%;height: auto;\">\n<section style=\"margin-top: -9px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 11.4844px;height: auto;\"><img decoding=\"async\" data-ratio=\"0.8379629629629629\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/8_RAibU9lITjQbtiabS9DraEvunsibGA.png?w=640\" onerror=\"this.src='\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-03_\u300c\u8f6c\u300d\u60f3\u8981\u5b66\u4e60R\u6570\u636e\u53ef\u89c6\u5316\uff0c\u5e08\u59b9\u5e26\u4f60\u89c1\u8bc6ggplot2\u4e4b\u6807\u5ea6\uff08\u4e00\uff09\/9_RAibU9lITjQbtiabS9DraEvunsibGA.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn137PDrzwmObibgds7NXlCIUJIvD6WRAibU9lITjQbtiabS9DraEvunsibGA\/640?wx_fmt=png''\" data-type=\"png\" data-w=\"1080\" style=\"vertical-align: middle;width: 100%;\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: center;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"font-size: 24px;color: rgb(249, 172, 172);\">\n<p><strong>END<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"margin-bottom: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3488888888888889\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/10_BoDuficWb7YjnP0CXo0mIcibhsXn8w.jpg?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/oCSOtP61aEUlxqHhbZryhECGXicgBrLn1ZkgkpYia2qsgSgNWPQMp0RiaIAmlBoDuficWb7YjnP0CXo0mIcibhsXn8w\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"900\" style=\"\"  data-recalc-dims=\"1\" \/><\/p>\n<p style=\"margin-bottom: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5555555555555556\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/11_akXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ-3.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/oCSOtP61aEXjjmsEC5aXz0RE4be2ib1fJPnBD8yX0Z6OF2zocd2ngHpLOakXKU5NcO1KwuWc1Rk7ZJ56LC2pYrQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"900\" style=\"\"  data-recalc-dims=\"1\" \/><\/p>\n<p style=\"display: none;margin-bottom: 24px;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<p><\/content><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60f3\u8981\u5b66\u4e60R\u6570\u636e\u53ef\u89c6\u5316\uff0c\u5e08\u59b9\u5e26\u4f60\u89c1\u8bc6ggplot2\u4e4b\u6807\u5ea6\uff08\u4e00\uff09 \u5c0f\u5e08\u59b9&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/54291"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54291"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/54291\/revisions"}],"predecessor-version":[{"id":54302,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/54291\/revisions\/54302"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54291"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}