sm_common_title {smplot2}R Documentation

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")

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" .

Value

It prints title on a blank layer of ploting.

Examples

library(smplot2)
sm_common_title('My title')


[Package smplot2 version 0.2.1 Index]