timcdlucas / ggplotThemes

My themes for use with ggplot2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggplot2 themes

I will use this repo to collect themes. I intend to write at least a basic theme and a presentation theme.

I will probably also write a theme to use in my nicely typesetted thesis as well as perhaps a poster theme and a blogpost theme.

I started with and was largely inspired by Noam Ross's theme.

Base theme

ggplot(d, aes(x = a, y = b, fill = c)) + 
  geom_bar(stat = 'identity', position=position_dodge()) +
  xlab('The X axis') + 
  ylab('The Y axis') +
  theme_tcdl

plot of chunk baseTheme

ggplot(d, aes(x = a, y = b)) + 
  geom_point(size = 3.5) +
  xlab('The X axis') + 
  ylab('The Y axis') +
  theme_tcdl

plot of chunk baseTheme

ggplot(d, aes(x = a, y = b, fill = c)) + 
  geom_bar(stat = 'identity', position=position_dodge()) +
  xlab('The X axis') + 
  ylab('The Y axis') +
  theme_pres

plot of chunk presTheme

ggplot(d, aes(x = a, y = b)) + 
  geom_point(size = 3.5) +
  xlab('The X axis') + 
  ylab('The Y axis') +
  theme_pres

plot of chunk presTheme

About

My themes for use with ggplot2

License:Do What The F*ck You Want To Public License


Languages

Language:R 100.0%