Created
August 15, 2017 01:20
-
-
Save aaronschiff/98295295d13d0d53c1e4e827c90ae167 to your computer and use it in GitHub Desktop.
Jaggy label in ggplot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
dat <- data.frame(x = 1:10, y = runif(10)) | |
chart <- ggplot(dat) + | |
geom_bar(aes(x = x, y = y), stat = "identity") + | |
geom_text(aes(x = 2, y = 1.5, label = "This text is jaggy"), size = 6) | |
print(chart) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment