为Taylor图上的每个点添加不同的标签

时间:2018-02-22 06:54:19

标签: r plot lattice openair

我试图用泰勒图来比较使用'openair'包装的五个雨量计站的原始和偏差校正降雨量。绘图是可以的,但我想为每个面板标记每个点的名称相同。 我怎样才能做到这一点?解决方案将受到高度赞赏。我使用以下代码:

TaylorDiagram(kj, obs = "Gauge", mod = "value", group = c("prod","variable"), type = "station", normalise = T, pch=1)

输出是: enter image description here

kj是我使用的数据框。如果需要我可以分享

kj的样本:通过dput(head(kj))

structure(list(Gauge = c(0, 0, 0, 0, 20, 0), variable = structure(c(1L, 
1L, 1L, 1L, 1L, 1L), .Label = c("A", "B", "C", "D"), class = c("ordered", 
"factor")), value = c(0, 0, 0, 0, 0, 0), station = structure(c(1L, 
1L, 1L, 1L, 1L, 1L), .Label = c("Sunamganj", "Sheola", "Nakuagaon", 
"Brahmanbaria", "Bhairab.Bazar"), class = c("ordered", "factor"
)), prod = c("original GSRPs", "original GSRPs", "original GSRPs", 
"original GSRPs", "original GSRPs", "original GSRPs")), .Names = c("Gauge", 
"variable", "value", "station", "prod"), row.names = c("1", "2", 
"3", "4", "5", "6"), class = "data.frame")

0 个答案:

没有答案