Permalink
Browse files

theme_stata: fix example with s1rcolor

  • Loading branch information...
1 parent 8d42323 commit efe56d15b7c70aa670248f2c4511d43b3a33f45b @jrnold committed Sep 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 man/theme_stata.Rd
View
@@ -45,8 +45,8 @@ q1mono <- (qplot(carat, price, shape=clarity, color=clarity,
(q2 + theme_stata("s1color"))
## s1rcolor
(q1 + theme_stata("s1rcolor") + scale_colour_stata("s1rcolor"))
-(qplot(carat, price, colour="white", data=dsamp)
- + facet_wrap(~ clarity)
+(ggplot(dsamp, aes(x=carat, y=price)) + geom_point(colour="white")
+ + facet_wrap(~ clarity) + scale_colour_stata("s1rcolor")
+ ggtitle("Diamonds"))
## s1mono
(q1mono + theme_stata("s1mono") + scale_colour_stata("mono"))

0 comments on commit efe56d1

Please sign in to comment.