Sets the base text parameters for all text elements in an scplot object.

set_base_text(object, ...)

Arguments

object

An scplot object (class scplot) returned from the scplot() function.

...

List with text parameters ("family", "face", "colour", "size", "hjust", "vjust", "angle", "lineheight", "margin"). See element_text().

Value

An object of class scplot (seescplot()).

Details

This function modifies the text element in the theme list of the scplot object, allowing you to define default text properties such as font family, face, color, size, alignment, angle, line height, and margin using parameters similar to those in element_text().