sm_common_title: Common title for combined subplots
Description
Common title for combined subplots
Usage
sm_common_title(title = "", size = 17, x = 0.5, y = 0.5, fontface = "bold")
Value
It prints title on a blank layer of ploting.
Arguments
- 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" .
Examples
Run this codelibrary(smplot2)
sm_common_title('My title')
Run the code above in your browser using DataLab