是否可以获得六角形的自定义颜色或更改六边形的边框颜色?我使用以下代码:
hexbinplot(blue ~ green, data=newData_cut, aspect="2", xbins=80, cex.labels=1, cex.title=1,
style="nested.centroids", xlim=c(-0.01, 0.35), ylim=c(-0.01,2.5), scales = list(x = list(cex=2), y = list(cex=2)),
par.settings = list(par.xlab.text=list(cex=2),par.ylab.text=list(cex=2)), xlab="Green", ylab="UV", colramp=BTY,
panel=function(x, y, ...)
{
panel.hexbinplot(x, y, ...)
panel.abline(v=0.02, col="black", lwd=2, lty=1)
}
)
我得到这张图片value_counts