我试图用泰勒图来比较使用'openair
'包装的五个雨量计站的原始和偏差校正降雨量。绘图是可以的,但我想为每个面板标记每个点的名称相同。
我怎样才能做到这一点?解决方案将受到高度赞赏。我使用以下代码:
TaylorDiagram(kj, obs = "Gauge", mod = "value", group = c("prod","variable"), type = "station", normalise = T, pch=1)
输出是:
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")