theme_timeline: Theme for eq_timeline figures

Description Usage Arguments Value Examples

Description

Convert figure theme to a white background, without Y axis and legend at the bottom figure

Usage

1
theme_timeline(base_size = 11, base_family = "")

Arguments

base_size

Default 11, base size of text

base_family

Default sans, text family

Value

Nothing

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(dplyr); library(ggplot2)
data %>% eq_clean_data() %>%
   dplyr::filter(data, COUNTRY %in% c("GREECE", "ITALY")) %>%
   ggplot(aes(x = DATE, y = COUNTRY, color = TOTAL_DEATHS, size = EQ_PRIMARY,
   magnitude = EQ_PRIMARY, label = LOCATION_NAME)) +
   geom_timeline(xmin = "2000-01-01", xmax = "2010-01-01") +
   theme_timeline()

## End(Not run)

eregmig/earthquake documentation built on May 17, 2019, 7:04 p.m.