2

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")
4

0 回答 0