Skip to content

Commit

Permalink
adding annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
drchriscole committed Sep 25, 2017
1 parent 9d91f6b commit 7adeed4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions table8.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ ggplot(dat.m, aes(x=Year, y=value, group=Age, colour=Age)) +
geom_hline(yintercept = 0.18, colour="#990000", linetype="dashed") +
geom_line(size=1.2) +
ylab("Deaths per 1000 population") +
annotate("text", label="Mean 2012-2016", x=16.3,y=0.175,size=3,colour="#990000") +
scale_x_discrete(breaks=seq(2000,2016,2)) +
ggtitle("Scotland Drug-Related Deaths")

0 comments on commit 7adeed4

Please sign in to comment.