r语言中图例legend的边框线如何去掉

Python012

r语言中图例legend的边框线如何去掉,第1张

参数bty:the type of box to be drawn around the legend. The allowed values are "o" (the default) and "n".

byt="n"是无框

在R语言的基础绘图系统中,有plot, figure, outer, inner 共4种边框

这四种边框实际上明确了整个绘图设备的布局

1) outer, 当我们声明一个绘图设备的时候,outer 指的就是这个设备上