Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow colors for each individual track in tail_colour #86

Open
J4SJA opened this issue Apr 18, 2020 · 2 comments
Open

allow colors for each individual track in tail_colour #86

J4SJA opened this issue Apr 18, 2020 · 2 comments

Comments

@J4SJA
Copy link

J4SJA commented Apr 18, 2020

Firstly: fantastic package. We are using it to visualise GPS-tagged white tailed eagles for the general public. Much more insightful than static maps. See www.werkgroepzeearend.nl

I managed to color the trace of movements in the same color as the path, by adding trace_colour = c("red","green","blue","yellow") in frames_spatial (this dataset has four individuals. However this gives a funny tail that blends to white and then becomes the trace. tail_colour seems to accept one color only. Attempts to add more resulted in a Error in $<-.data.frame(tmp, "tail_colour", value = c("red", "green", : replacement has 4 rows, data has 10349 .

Tried a hacky approach by adding a m$colour field, and then tail_colour = m$colour then same a different name (m$kleur) but this gave the same error.

It would be cool if the tail can be coloured the same as the path and trace, or if there already is a way to do this.

@16EAGLE
Copy link
Owner

16EAGLE commented Apr 30, 2020

Thanks for the feedback. Good point, will equalize the behavior of all colour arguments, including the ability to look for a dedicated column name in m.

@ingomiller
Copy link

has this been resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants