Description Usage Value Examples
A few tweaks to turn off the background and grids.
1 |
a theme object to be attached to ggplot command
1 2 3 4 5 6 7 8 9 10 | ## Not run: ggplot(data = selected) +
aes(x=DATE, y=COUNTRY,
colour = TOTAL_DEATHS,
size = EQ_PRIMARY) +
geom_timeline(xmin=xmin, xmax=xmax) +
theme_timeline() +
scale_size_continuous(name = "Richter scale value") + #change legend name
scale_colour_continuous(name = "# Deaths") +
scale_x_date(limits = c(xmin-months(6), xmax+months(6))) #extend the axis
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.