001、基礎繪圖
plot(1:10) legend('topleft', ## legend函式預設會帶有一個框線 c("Presence", "Absence"), col= "royalblue1", pch = 15, cex = 1, text.font = 2, inset= 0.02)
002、去除圖例框線
plot(1:10) legend('topleft', c("Presence", "Absence"), col= "royalblue1", pch = 15, cex = 1, text.font = 2, inset= 0.02, box.lty = 0) ## 增加box.lyt 選項可以消除框線
。