{"id":3496,"date":"2023-07-17T04:05:48","date_gmt":"2023-07-17T04:05:48","guid":{"rendered":"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/"},"modified":"2023-07-17T04:05:48","modified_gmt":"2023-07-17T04:05:48","slug":"ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/","title":{"rendered":"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b?"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u30c7\u30fc\u30bf \u30b5\u30a4\u30a8\u30f3\u30b9\u5168\u4f53\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30c7\u30fc\u30bf\u8996\u899a\u5316\u30e9\u30a4\u30d6\u30e9\u30ea\u306e 2 \u3064\u306f\u3001 <strong>ggplot2<\/strong>\u3068<strong>Matplotlib<\/strong>\u3067\u3059\u3002<\/span><\/span><\/p>\n<p> <span style=\"color: #000000;\"><a href=\"https:\/\/ggplot2.tidyverse.org\/\" target=\"_blank\" rel=\"noopener\">ggplot2<\/a>\u30e9\u30a4\u30d6\u30e9\u30ea\u306f R \u7d71\u8a08\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u4f7f\u7528\u3055\u308c\u3001 <a href=\"https:\/\/matplotlib.org\/\" target=\"_blank\" rel=\"noopener\">Matplotlib<\/a>\u306f Python \u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3069\u3061\u3089\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3082\u9ad8\u5ea6\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3055\u308c\u305f\u30c7\u30fc\u30bf\u8996\u899a\u5316\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u304c\u3001ggplot2 \u3067\u306f\u4e00\u822c\u306b\u3001Matplotlib \u306b\u6bd4\u3079\u3066\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u884c\u3067\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u70b9\u3092\u8aac\u660e\u3059\u308b\u305f\u3081\u306b\u3001\u4e21\u65b9\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u540c\u3058\u30bf\u30a4\u30d7\u306e\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u6298\u308c\u7dda\u30b0\u30e9\u30d5: ggplot2 \u3068 Matplotlib<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>ggplot2<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #000000;\"><span style=\"color: #008000;\">library<\/span> (ggplot2)\n<\/span>\n<span style=\"color: #008080;\">#create data frame<\/span>\ndf &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (day=c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10),\n                 sales=c(2, 4, 5, 8, 6, 12, 15, 19, 15, 22))\n\n<span style=\"color: #008080;\">#create line chart\n<\/span>ggplot(df, aes(x=day, y=sales)) +\n  geom_line(size= <span style=\"color: #008000;\">1.2<\/span> , col=' <span style=\"color: #ff0000;\">purple<\/span> ') +\n  ggtitle(' <span style=\"color: #ff0000;\">Sales by Day<\/span> ') +\n  xlab(' <span style=\"color: #ff0000;\">Day<\/span> ') +\n  ylab(' <span style=\"color: #ff0000;\">Sales<\/span> ')\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-29125 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg1.jpg\" alt=\"\" width=\"511\" height=\"395\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>Matplotlib<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u540c\u3058\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> pandas <span style=\"color: #107d3f;\">as<\/span> pd\n<span style=\"color: #008000;\">import<\/span> matplotlib. <span style=\"color: #3366ff;\">pyplot<\/span> <span style=\"color: #008000;\">as<\/span> plt \n\n<span style=\"color: #008080;\">#createDataFrame<\/span>\ndf = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">day<\/span> ': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n                   ' <span style=\"color: #ff0000;\">sales<\/span> ': [2, 4, 5, 8, 6, 12, 15, 19, 15, 22]})\n\n<span style=\"color: #008080;\">#create line chart\n<\/span>plt. <span style=\"color: #3366ff;\">plot<\/span> (df. <span style=\"color: #3366ff;\">day<\/span> , df. <span style=\"color: #3366ff;\">sales<\/span> , color=' <span style=\"color: #ff0000;\">purple<\/span> ')\nplt. <span style=\"color: #3366ff;\">title<\/span> (' <span style=\"color: #ff0000;\">Sales by Day<\/span> ', loc=' <span style=\"color: #ff0000;\">left<\/span> ')\nplt. <span style=\"color: #3366ff;\">ylabel<\/span> (' <span style=\"color: #ff0000;\">Sales<\/span> ')\nplt. <span style=\"color: #3366ff;\">xlabel<\/span> (' <span style=\"color: #ff0000;\">Day<\/span> ')<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-29126 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg2.jpg\" alt=\"\" width=\"508\" height=\"400\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u4f8b\u3067\u306f\u3001\u5404\u30d7\u30ed\u30c3\u30c8\u306e\u751f\u6210\u306b\u5fc5\u8981\u306a\u30b3\u30fc\u30c9\u884c\u6570\u306f\u3001ggplot2 \u3068 Matplotlib \u3067\u307b\u307c\u540c\u3058\u3067\u3059\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u6563\u5e03\u56f3: ggplot2 \u3068 Matplotlib \u306e\u6bd4\u8f03<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001\u70b9\u304c\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306b\u8272\u5206\u3051\u3055\u308c\u305f\u6563\u5e03\u56f3\u3092<strong>ggplot2<\/strong>\u3067\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #000000;\"><span style=\"color: #008000;\">library<\/span> (ggplot2)\n<\/span>\n<span style=\"color: #008080;\">#create data frame\n<span style=\"color: #000000;\">df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (team=c('A', 'A', 'A', 'A', 'B', 'B', 'B', 'B'),\n                 assists=c(1, 2, 2, 4, 5, 7, 8, 10),\n                 points=c(4, 6, 10, 8, 12, 15, 22, 28))<\/span>\n\n#create scatterplot\n<span style=\"color: #000000;\">ggplot(df, aes(x=assists, y=points)) +\n  geom_point(aes(col=team), size= <span style=\"color: #008000;\">3<\/span> )<\/span><\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-29127 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg3.jpg\" alt=\"\" width=\"511\" height=\"402\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>Matplotlib<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u540c\u3058\u6563\u5e03\u56f3\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> pandas <span style=\"color: #107d3f;\">as<\/span> pd\n<span style=\"color: #008000;\">import<\/span> matplotlib. <span style=\"color: #3366ff;\">pyplot<\/span> <span style=\"color: #008000;\">as<\/span> plt \n\n<span style=\"color: #008080;\">#createDataFrame<\/span>\ndf = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">team<\/span> ': ['A', 'A', 'A', 'A', 'B', 'B', 'B', 'B'],\n                   ' <span style=\"color: #ff0000;\">assists<\/span> ': [1, 2, 2, 4, 5, 7, 8, 10],\n                   ' <span style=\"color: #ff0000;\">points<\/span> ': [4, 6, 10, 8, 12, 15, 22, 28]})\n\n<span style=\"color: #008080;\">#define colors to use\n<\/span>color_list = [] \n<span style=\"color: #008000;\">for<\/span> x <span style=\"color: #008000;\">in<\/span> df[' <span style=\"color: #ff0000;\">team<\/span> ']: \n    <span style=\"color: #008000;\">if<\/span> x == ' <span style=\"color: #ff0000;\">A<\/span> ': color_list. <span style=\"color: #3366ff;\">append<\/span> (' <span style=\"color: #ff0000;\">#F8766D<\/span> ') \n    <span style=\"color: #008000;\">else<\/span> : color_list. <span style=\"color: #3366ff;\">append<\/span> (' <span style=\"color: #ff0000;\">#00BFC4<\/span> ') \n\n<span style=\"color: #008080;\">#create scatterplot\n<\/span>plt. <span style=\"color: #3366ff;\">scatter<\/span> (df. <span style=\"color: #3366ff;\">assists<\/span> , df. <span style=\"color: #3366ff;\">points<\/span> , c=color_list)\nplt. <span style=\"color: #3366ff;\">ylabel<\/span> (' <span style=\"color: #ff0000;\">points<\/span> ')\nplt. <span style=\"color: #3366ff;\">xlabel<\/span> (' <span style=\"color: #ff0000;\">assists<\/span> ')\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-29128 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg4.jpg\" alt=\"\" width=\"465\" height=\"356\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">ggplot2 \u3068\u540c\u3058\u30d7\u30ed\u30c3\u30c8\u3092\u751f\u6210\u3059\u308b\u306b\u306f\u3001Matplotlib \u3067\u3055\u3089\u306b\u591a\u304f\u306e\u30b3\u30fc\u30c9\u884c\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0: ggplot2 \u5bfe Matplotlib<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>ggplot2<\/strong>\u3067\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #000000;\"><span style=\"color: #008000;\">library<\/span> (ggplot2)\n<\/span>\n<span style=\"color: #008080;\">#create data frame\n<span style=\"color: #000000;\">df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (x=c(2, 2, 4, 4, 4, 5, 5, 6, 7, 7, 8, 8,\n                     10, 11, 11, 11, 12, 13, 14, 14))\n\n<span style=\"color: #008080;\">#create scatterplot\n<\/span>ggplot(df, aes(x=x)) +\n  geom_histogram(bins= <span style=\"color: #008000;\">6<\/span> , fill=' <span style=\"color: #ff0000;\">red<\/span> ', color=' <span style=\"color: #ff0000;\">black<\/span> ') +\n  ggtitle(' <span style=\"color: #ff0000;\">My Histogram<\/span> ')<\/span><\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-29129 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg5.jpg\" alt=\"\" width=\"506\" height=\"390\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>Matplotlib<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u540c\u69d8\u306e\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> pandas <span style=\"color: #107d3f;\">as<\/span> pd\n<span style=\"color: #008000;\">import<\/span> matplotlib. <span style=\"color: #3366ff;\">pyplot<\/span> <span style=\"color: #008000;\">as<\/span> plt \n\n<span style=\"color: #008080;\">#createDataFrame<\/span>\ndf = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">x<\/span> ': [2, 2, 4, 4, 4, 5, 5, 6, 7, 7, 8, 8,\n                         10, 11, 11, 11, 12, 13, 14, 14]})\n\n<span style=\"color: #008080;\">#create histogram\n<\/span>plt. <span style=\"color: #3366ff;\">hist<\/span> (df[' <span style=\"color: #ff0000;\">x<\/span> '], bins= <span style=\"color: #008000;\">6<\/span> , color=' <span style=\"color: #ff0000;\">red<\/span> ', ec=' <span style=\"color: #ff0000;\">black<\/span> ')\nplt. <span style=\"color: #3366ff;\">title<\/span> (' <span style=\"color: #ff0000;\">My Histogram<\/span> ', loc=' <span style=\"color: #ff0000;\">left<\/span> ') \nplt. <span style=\"color: #3366ff;\">xlabel<\/span> (' <span style=\"color: #ff0000;\">x<\/span> ') \nplt. <span style=\"color: #3366ff;\">ylabel<\/span> (' <span style=\"color: #ff0000;\">Count<\/span> ')<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-29133 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg6-1.jpg\" alt=\"\" width=\"512\" height=\"417\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u3082\u3046\u4e00\u5ea6\u8a00\u3044\u307e\u3059\u304c\u3001Matplotlib \u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f ggplot2 \u3088\u308a\u3082\u591a\u304f\u306e\u30b3\u30fc\u30c9\u884c\u304c\u5fc5\u8981\u3067\u3059\u3002<\/span><\/p>\n<h2><strong><span style=\"color: #000000;\">\u7d50\u8ad6<\/span><\/strong><\/h2>\n<p><span style=\"color: #000000;\">ggplot2 \u3068 Matplotlib \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u9ad8\u5ea6\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u8996\u899a\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u304c\u3001ggplot2 \u3067\u306f\u4f7f\u7528\u3059\u308b\u30b3\u30fc\u30c9\u304c\u5c11\u306a\u304f\u306a\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u591a\u304f\u306e\u5834\u5408\u3001ggplot2 \u3068 Matplotlib \u306e\u3069\u3061\u3089\u3092\u512a\u5148\u3059\u308b\u304b\u306f\u3001\u30c7\u30fc\u30bf\u5206\u6790\u306b\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u3088\u3063\u3066\u6c7a\u307e\u308a\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\">Python \u3092\u4f7f\u7528\u3059\u308b\u4eba\u306f\u3001\u5358\u4e00\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u5206\u6790\u3092\u5b9f\u884c\u3057\u3001\u30c7\u30fc\u30bf\u306e\u8996\u899a\u5316\u3092\u4f5c\u6210\u3067\u304d\u308b\u305f\u3081\u3001Matplotlib \u3092\u4f7f\u7528\u3059\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u9006\u306b\u3001R \u3092\u4f7f\u7528\u3059\u308b\u4eba\u306f\u3001\u5358\u4e00\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u5206\u6790\u3068\u8996\u899a\u5316\u3092\u5b9f\u884c\u3067\u304d\u308b\u305f\u3081\u3001ggplot2 \u3092\u4f7f\u7528\u3059\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30fc\u30bf \u30b5\u30a4\u30a8\u30f3\u30b9\u5168\u4f53\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30c7\u30fc\u30bf\u8996\u899a\u5316\u30e9\u30a4\u30d6\u30e9\u30ea\u306e 2 \u3064\u306f\u3001 ggplot2\u3068Matplotlib\u3067\u3059\u3002 ggplot2\u30e9\u30a4\u30d6\u30e9\u30ea\u306f R \u7d71\u8a08\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u4f7f\u7528\u3055\u308c\u3001 Matplotlib\u306f Pyth [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-3496","post","type-post","status-publish","format-standard","hentry","category-16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b? - \u8a18\u4e8b<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066\u3001ggplot2 \u3068 matplotlib \u306e\u9055\u3044\u3092\u8aac\u660e\u3057\u307e\u3059\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\/ja\/ggplot2-\u3068-matplotlib-\u306e\u6bd4\u8f03\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b? - \u8a18\u4e8b\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066\u3001ggplot2 \u3068 matplotlib \u306e\u9055\u3044\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/ggplot2-\u3068-matplotlib-\u306e\u6bd4\u8f03\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-17T04:05:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg1.jpg\" \/>\n<meta name=\"author\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/\",\"url\":\"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/\",\"name\":\"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b? - \u8a18\u4e8b\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-17T04:05:48+00:00\",\"dateModified\":\"2023-07-17T04:05:48+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066\u3001ggplot2 \u3068 matplotlib \u306e\u9055\u3044\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ja\/#website\",\"url\":\"https:\/\/statorials.org\/ja\/\",\"name\":\"Statorials\",\"description\":\"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\",\"name\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\"},\"description\":\"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b\",\"sameAs\":[\"http:\/\/statorials.org\/ja\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b? - \u8a18\u4e8b","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066\u3001ggplot2 \u3068 matplotlib \u306e\u9055\u3044\u3092\u8aac\u660e\u3057\u307e\u3059\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\/ja\/ggplot2-\u3068-matplotlib-\u306e\u6bd4\u8f03\/","og_locale":"ja_JP","og_type":"article","og_title":"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b? - \u8a18\u4e8b","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066\u3001ggplot2 \u3068 matplotlib \u306e\u9055\u3044\u3092\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/ggplot2-\u3068-matplotlib-\u306e\u6bd4\u8f03\/","og_site_name":"Statorials","article_published_time":"2023-07-17T04:05:48+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/gg1.jpg"}],"author":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/","url":"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/","name":"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b? - \u8a18\u4e8b","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-17T04:05:48+00:00","dateModified":"2023-07-17T04:05:48+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066\u3001ggplot2 \u3068 matplotlib \u306e\u9055\u3044\u3092\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/ggplot2-%e3%81%a8-matplotlib-%e3%81%ae%e6%af%94%e8%bc%83\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"Matplotlib \u3068 ggplot2: \u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b?"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ja\/#website","url":"https:\/\/statorials.org\/ja\/","name":"Statorials","description":"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83","name":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb"},"description":"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b","sameAs":["http:\/\/statorials.org\/ja"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/comments?post=3496"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3496\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=3496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=3496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=3496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}