How can I add a caption to this graph? I tried the commands below but my graph disappeared
library(vegan)
data(BCI)
sp1 <- specaccum(BCI, "random")
sp2 <- specaccum(BCI, "coleman")
plot(sp1, ci.type="poly", col="blue", lwd=2,
ci.lty=0, ci.col = rgb(.5, .5, .5, 0.5))
plot(sp2, ci.type="poly", col="yellow",lwd=2,
ci.lty=0, ci.col = rgb(.5, .5, .5, 0.5), add=TRUE)
legend(x="top", legend=sp1)
