From f046400e96477dc500035c796da18ec7c76f620b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20JOLY?= Date: Wed, 11 Aug 2021 14:08:27 +0100 Subject: [PATCH] Update barplot.Rmd The plot title is pixelated because it's been added several times, this is the fix See details https://stackoverflow.com/questions/10952832/ggplot2-is-there-a-fix-for-jagged-poor-quality-text-produced-by-geom-text --- graph/barplot.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph/barplot.Rmd b/graph/barplot.Rmd index e6c2a34..e98512e 100644 --- a/graph/barplot.Rmd +++ b/graph/barplot.Rmd @@ -192,7 +192,7 @@ ggplot(tmp, aes(x=as.factor(id), y=Value)) + # Note that id is a factor. I ) + coord_polar(start = 0) + geom_text(data=label_tmp, aes(x=id, y=Value+200, label=Country ), color="black", fontface="bold",alpha=0.6, size=2.5, angle= label_tmp$angle, hjust=label_tmp$hjust, inherit.aes = FALSE ) + - geom_text( aes(x=24, y=8000, label="Who sells more weapons?"), color="black", inherit.aes = FALSE) + geom_text( aes(x=24, y=8000, label="Who sells more weapons?"), color="black", inherit.aes = FALSE, data = data.frame()) ```