View source: R/sm_common_title.R
sm_common_title | R Documentation |
Common title for combined subplots
sm_common_title(title = "", size = 17, x = 0.5, y = 0.5, fontface = "bold")
title |
The input should be string. |
size |
Text size of the title. |
x |
Location of the title along the x-axis. Default is the middle origin (0.5). |
y |
Location of the legend along the y-axis. Default is the middle origin (0.5). |
fontface |
The default is to set the text of the title as bold. This can be changed, to either "plain", "bold", "italic", "bold.italic" . |
It prints title on a blank layer of ploting.
library(smplot2)
sm_common_title('My title')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.