请考虑以下示例极坐标图:
library(plotrix)
testlen <- c(rnorm(36)*2 + 5)
testpos <- seq(0, 350, by = 10)
polar.plot(testlen, testpos, main = "Test Polar Plot",
lwd = 3, line.col = 4, rp.type = "s")
我想添加角度为 30 和 330 以及 150 和 210(从中心到外部)的线。我尝试了 line 功能,但无法让它工作。