update_labels

0th

Percentile

Update axis/legend labels

Update axis/legend labels

Usage
update_labels(p, labels)
Arguments
p
plot to modify
labels
named list of new labels
Aliases
  • update_labels
Examples
p <- qplot(mpg, wt, data = mtcars)
update_labels(p, list(x = "New x"))
update_labels(p, list(x = expression(x / y ^ 2)))
update_labels(p, list(x = "New x", y = "New Y"))
update_labels(p, list(colour = "Fail silently"))
Documentation reproduced from package ggplot2, version 0.9.3.1, License: GPL-2

Community examples

Looks like there are no examples yet.