Add axis titles.

axis_title_x(g, title, ..., fontSize = 10, offset = 30)

# S3 method for g2r
axis_title_x(g, title, ..., fontSize = 10, offset = 30)

axis_title_y(g, title, ..., fontSize = 10, offset = 50)

# S3 method for g2r
axis_title_y(g, title, ..., fontSize = 10, offset = 50)

Arguments

g

An object of class g2r or g2Proxy as returned by g2() or g2_proxy().

title

Title to use on the axis.

...

Options to customise the title.

fontSize

Size of the font of the label.

offset

Offset between title and axis, if 0 the title is not visible.