sm_common_xlabel: Common x-axis label (title) for combined subplots

View source: R/sm_common_xlabel.R

sm_common_xlabelR Documentation

Common x-axis label (title) for combined subplots

Description

Common x-axis label (title) for combined subplots

Usage

sm_common_xlabel(label = "", size = 17, x = 0.5, y = 0.5, fontface = "plain")

Arguments

label

The input should be string.

size

Text size of the label.

x

Location of the label along the x-axis. Default is the middle origin (0.5).

y

Location of the label along the y-axis. Default is the middle origin (0.5).

fontface

The default is to set the text of the title as plain This can be changed, to either "plain", "bold", "italic", "bold.italic" .

Value

It returns a layer with the specified common x-axis label for combined plot.

Examples

library(smplot2)
sm_common_xlabel('My x-axis')

smin95/sesplot documentation built on July 2, 2024, 9:35 a.m.