【发布时间】:2020-05-18 19:39:30
【问题描述】:
三元图 你好。有人知道如何使用 PLOTRIX 的 thigmophobe.labels 吗?或任何其他使点标签重叠的功能?我正在尝试用沉积物数据制作三元图,但我遇到了这个问题,我不知道如何解决它。一些点标签重叠。也许这很简单,但我是一个新的 R 用户......
这是代码示例。
library ('rysgran')
data (camargo2001)
class.percent (camargo2001, mode="total")
percent <- class.percent(camargo2001, mode="total")
x<-percent[2:4]
rysgran.ternary(x, method = "pejrup", lang = "e", main="",
show.labels=FALSE, label.points=TRUE, axis.labels = NULL, show.names = TRUE,
cex.labels= 1, cex.points=0.9, show.legend=FALSE,
cex.axis=1, cex.names = 0.8, col.names = "blue", col = "blue",
col.labels= "black", col.axis= "black", col.lines= "black",
pch = 16, lty.grid = 10, pos=3)
【问题讨论】:
-
ggternary(或其他名称)+ggrepel包?