data science foll


  • Home

  • Tags

  • Categories

  • Archives

  • Search

二维直方图 hexbin

Posted on 2018-09-23 | In R | Visitors:
1
2
3
4
5
6
7
8
9
install.packages("hexbin")
install.packages("RColorBrewer")
library(hexbin)
library(RColorBrewer)
x <- rnorm(mean=1.5, 5000)
y <- rnorm(mean=1.6, 5000)
bin<-hexbin(x, y, xbins=40)
my_colors=colorRampPalette(rev(brewer.pal(11,'Spectral')))
plot(bin, colramp=my_colors, legend=F)

hexbin.png

# R # hexbin # RColorBrewer # colorRampalette
时间序列分析 forecast
网络图 igraph
庞锦烽

庞锦烽

山高路远,道阻且长

61 posts
14 categories
90 tags
RSS
GitHub weibo
© 2018 — 2019 庞锦烽
Powered by Hexo
|
Theme — NexT.Muse v5.1.4