I'm plotting a forest with trees as in the sample data lansing
in spatstat
.
My code is as in this example:
plot(lansing, cols=rainbow(length(unique(lansing$marks))),
leg.args=list(y.intersp = .5, cex = .2, pt.cex = .2))
But I have 14 tree species, so I receive the warning that only 10 are shown in the symbol map. Is there a way to show them all? I tried different ways, e.g. y.intersp
, which brought no error, but also no response.
Any help is appreciated. Thank you!