Skip to content

adehabitatLT

2 messages · Carolina Massa, Mathieu Basille

#
Hello,
Someone know how can I plot two ltraj (2 different animals) in the same
graph?
thanks

Caro
5 days later
#
[I'm resending my answer since it didn't make it to the list]

Hi Carolina,

Please check my package 'hab' [1]. I refined 'plot.ltraj' there to allow
for better control for the user. I believe it can be used to do what you
want. See for instance the following example:

library(hab)
data(puechcirc)
plot(puechcirc, by = "none")
plot(puechcirc, by = "none", ppar = list(col = c(CH930824 = "blue",
    CH930827 = "blue", JE930827 = "red"), pch = 20), lpar = list(col =
    c(CH930824 = "blue", CH930827 = "blue", JE930827 = "red")))

You will find other useful examples in the help page of the function.

Hope this helps!
Mathieu.


[1] https://github.com/basille/hab


Le 14/04/2016 06:17, Carolina Massa a ?crit :