Description Usage Arguments Details Author(s) See Also Examples
This function adds a subtitle to a ggplot figure.
1 | ggsubtitle(subtitle)
|
subtitle |
A string subtitle |
Works like ggtitle
.
Charlie Gibbons
ggtitle
from the ggplot2
package
1 2 3 | qplot(carat, price, data = diamonds, color = cut) +
ggtitle("Relationship between carats and price") +
ggsubtitle("More carats mean higher prices!")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.