Learn R Programming

ggplot2 (version 0.9.2.1)

rel: Relative sizing for theme elements

Description

Relative sizing for theme elements

Usage

rel(x)

Arguments

x
A number representing the relative size

Examples

Run this code
qplot(1:3, 1:3) + theme(axis.title.x = element_text(size = rel(2.5)))

Run the code above in your browser using DataLab