rel

0th

Percentile

Relative sizing for theme elements

Relative sizing for theme elements

Usage
rel(x)
Arguments
x
A number representing the relative size
Aliases
  • rel
Examples
df <- data.frame(x = 1:3, y = 1:3)
ggplot(df, aes(x, y)) +
  geom_point() +
  theme(axis.title.x = element_text(size = rel(2.5)))
Documentation reproduced from package ggplot2, version 2.1.0, License: GPL-2

Community examples

Looks like there are no examples yet.