Skip to content

Commit

Permalink
Print email address on the visualisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Kwiatkowski committed Jan 14, 2019
1 parent 700d2a8 commit b32a772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/animate.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ animation <- ggplot(data, aes(x=x.f, y=y.f)) +
geom_text(data=filter(data, is.ball), aes(x=-3500, y=3550, label=desc.f)) +
geom_text(aes(x=3500, y=3550, label=desc.e), colour='red') +
annotate_pitch(x_scale=105.0, y_scale=68.0, x_shift=-10500/2, y_shift=-6800/2) +
annotate("text", x=4200, y=-3200, label="sync.soccer", fontface="italic") +
annotate("text", x=4000, y=-3200, label="info@sync.soccer", fontface="italic") +
geom_point(data=filter(data, is.ball), size=1.5) +
geom_point(data=filter(data, !is.ball), aes(color=team.f), size=3, alpha=0.75) +
geom_point(aes(x=x.e, y=y.e), colour="red", shape=4, size=4) +
Expand Down

0 comments on commit b32a772

Please sign in to comment.