有人对以下现象有很好的解释吗?考虑这个:
col = rainbow(12, alpha = 1)
plot(1)
legend("bottom", border = "white",col = col, legend = 1:12, horiz= TRUE, pch =15, fill = "white")
legend("top", border = "white",col = col, legend = 1:12, horiz= TRUE, pch =15)
为什么
legend("bottom" ...)
和
legend("top" ...)
的宽度不同?
其实我只是想删除图例边框....