{"provider_url":"https://hatena.blog","blog_title":"pandazx's blog","image_url":null,"height":"190","author_url":"https://blog.hatena.ne.jp/pandazx/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpandazx.hatenablog.com%2Fentry%2F2015%2F10%2F21%2F161730\" title=\"R\u306eggplot\u3067\u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u4f5c\u6210\u6642\u306b\u30ed\u30b0\u30b9\u30b1\u30fc\u30eb\u3068limits\u304b\u3051\u3066\u30a8\u30e9\u30fc - pandazx&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","title":"R\u306eggplot\u3067\u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u4f5c\u6210\u6642\u306b\u30ed\u30b0\u30b9\u30b1\u30fc\u30eb\u3068limits\u304b\u3051\u3066\u30a8\u30e9\u30fc","version":"1.0","provider_name":"Hatena Blog","blog_url":"https://pandazx.hatenablog.com/","url":"https://pandazx.hatenablog.com/entry/2015/10/21/161730","description":"\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u3092\u4f5c\u6210\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3068\u3059\u308b\u3002 library(ggplot2) library(reshape2) library(ggthemes) # data.csv \u306b\u306f val1, val2, value\u3068\u3044\u3046\u30ab\u30e9\u30e0\u304c\u3042\u308b data<-read.table(\"data.csv\", header=T, sep=\",\") # \u30d2\u30fc\u30c8\u30de\u30c3\u30d7\u4f5c\u6210 p <- ggplot(data,aes(as.factor(val1),as.factor(val2))) # \u983b\u5ea6\u3092\u5bfe\u6570\u5909\u63db\u3057\u3066\u3001limits\u3082\u6307\u5b9a p + geom_tile(aes(fill=value)) + scal\u2026","published":"2015-10-21 16:17:30","type":"rich","categories":["R"],"author_name":"pandazx"}