bb_labs {plotbb} | R Documentation |
change labels for bbplot
bb_labs(title = NULL, sub = NULL, xlab = NULL, ylab = NULL)
bb_title(title)
bb_sub(sub)
bb_xlab(xlab)
bb_ylab(ylab)
title |
title |
sub |
sub |
xlab |
xlab |
ylab |
ylab |
setting one or several of 'title', 'sub', 'xlab', and 'ylab'
A modified bbplot object
Guangchuang Yu
library(plotbb)
p <- bbplot(mtcars, bb_aes(mpg, disp, col=factor(cyl))) + bb_point(pch=19)
p + bb_labs(title = "hello", sub = "just for demo",
xlab="this is xlab", ylab = "this is ylab") +
bb_title("hello world") # last one rules