Skip to content

Instantly share code, notes, and snippets.

@ramnathv
Created July 24, 2012 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramnathv/3171019 to your computer and use it in GitHub Desktop.
Save ramnathv/3171019 to your computer and use it in GitHub Desktop.
SO Question 1
# ggplot2 graph shows up fainter, and text smaller
```{r echo=FALSE, message=FALSE, warning=FALSE}
opts_chunk$set(fig.width=18, fig.height=10)
require(ggplot2)
```
***
# Simple Plot
```{r echo=FALSE, message=FALSE, warning=FALSE}
data(diamonds)
g <- ggplot(diamonds, aes(carat, depth, colour=color)) +
geom_point() +
facet_wrap(~cut)
g
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment