JuliaDynamics / Agents.jl

Agent-based modeling framework in Julia
https://juliadynamics.github.io/Agents.jl/stable/
MIT License
717 stars 115 forks source link

adding legend in a static plot using `abmplot()` #896

Open yunhwankim2 opened 10 months ago

yunhwankim2 commented 10 months ago

I think it would be great if a legend can be added to a static plot generated by abmplot() function. It can be according to the marker style. For example, a legend can indicate that circles stand for predators and squares stand for prey. I'm not sure whether this function is already implemented, but I cannot find in the documentation. Many thanks in advance.