{"title":"ggplot2\u306e\u30b0\u30e9\u30d5(\u65e5\u672c\u8a9e\u5165\u308a)\u3092ggsave\u3092\u4f7f\u3063\u3066PDF\u3067\u4fdd\u5b58\u3059\u308b","height":"190","published":"2022-10-03 12:35:08","url":"https://szk18.hatenadiary.jp/entry/2022/10/03/123508","type":"rich","blog_title":"\u614e\u307e\u3057\u304f\u751f\u304d\u307e\u3059","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fszk18.hatenadiary.jp%2Fentry%2F2022%2F10%2F03%2F123508\" title=\"ggplot2\u306e\u30b0\u30e9\u30d5(\u65e5\u672c\u8a9e\u5165\u308a)\u3092ggsave\u3092\u4f7f\u3063\u3066PDF\u3067\u4fdd\u5b58\u3059\u308b - \u614e\u307e\u3057\u304f\u751f\u304d\u307e\u3059\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","image_url":null,"author_name":"szk18","provider_name":"Hatena Blog","categories":[],"blog_url":"https://szk18.hatenadiary.jp/","description":"\u554f\u984c \u4ee5\u4e0b\u306e\u3088\u3046\u306bggplot2\u3067\u4f5c\u6210\u3057\u305f\u65e5\u672c\u8a9e\u5165\u308a\u30b0\u30e9\u30d5\u3092\uff0cggsave\u3092\u7528\u3044\u3066PNG\u3067\u4fdd\u5b58\u3057\u3066\u3044\u305f\u304c\uff0cPDF\u3067\u4fdd\u5b58\u3057\u305f\u307b\u3046\u304c\u3088\u3044\u306e\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u62e1\u5f35\u5b50\u3092PDF\u306b\u5909\u3048\u305f\u3068\u3053\u308d\uff0c\u4fdd\u5b58\u3067\u304d\u306a\u304f\u306a\u3063\u305f\uff0e library(ggplot2) p1 <- ggplot(data, aes(x = hoge, y = fuga)) + geom_point() + labs(y = \"y\u3058\u304f\u3058\u304f\u8ef8\") ggsave(file = \"plot.png\", plot = p1, height = 4, width = 5) \u2193 library(ggplot2) p1 <- ggplot(data, aes(x\u2026","author_url":"https://blog.hatena.ne.jp/szk18/","version":"1.0"}