p + geom_line(aes(linetype = factor(Rd), group = factor(Rd))) + theme(panel.background = element_rect(fill = "transparent",colour = NA), plot.background = element_rect(fill = "transparent",colour = NA), panel.grid.minor = element_blank(), panel.grid.major = element_blank(), plot.background = element_rect(fill = "transparent",colour = NA))
I am using version 0.9.2.1 on a mac.
Greetings,
Jan
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
+ theme(legend.key = element_rect(fill = NA, colour = NA, size = 0.25))
This removes the grey background and the black line around it.
Greetings,
Jan