Skip to content

Commit

Permalink
Tweak icons
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 7, 2016
1 parent 31a3309 commit d8f07e4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Binary file modified icons/geom_jitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions icons/icons.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
library(grid)
library(maps)
library(ggplot2)

set.seed(1014)

# Coords -----------------------------------------------------------------------

Expand Down Expand Up @@ -504,7 +507,7 @@ write_icon("scale_colour_hue", {
), col = NA))
})

write_icon("scale_identity", {
write_icon("scale_colour_identity", {
textGrob("f(x) = x", gp = gpar(cex = 1.2))
})

Expand All @@ -516,7 +519,7 @@ write_icon("scale_linetype", {
))
})

write_icon("scale_manual", {
write_icon("scale_colour_manual", {
textGrob("DIY", gp = gpar(cex = 1.2))
})

Expand All @@ -542,10 +545,6 @@ write_icon("scale_x_date", {
textGrob("14/10/1979", gp = gpar(cex = 1))
})

write_icon("scale_x_datetime", {
textGrob("14/10/1979\n10:14am", gp = gpar(cex = 0.9))
})

# Statistics -------------------------------------------------------------------

write_icon("stat_identity", {
Expand Down
Binary file added icons/scale_colour_identity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/scale_colour_manual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d8f07e4

Please sign in to comment.