element_text {ggplot2} R Documentation

Theme elements

Description


text.

Usage

element_text(
    family = NULL,
    face = NULL,
    size = 0,
    hjust = 0,
    vjust = 0,
    angle = 0,
    lineheight = 0,
    color = NULL,
    margin = 0,
    debug = FALSE,
    inherit.blank = FALSE);

Arguments

family

Font family. [as string]

face

Font face ("plain", "italic", "bold", "bold.italic"). [as string]

size

Line/border size in mm; text size in pts. [as double]

hjust

Horizontal justification (in [0, 1]). [as double]

vjust

Vertical justification (in [0, 1]). [as double]

angle

Angle (in [0, 360]). [as double]

lineheight

Line height. [as double]

color

Line/border colour. Color is an alias for colour. [as string]

margin

Margins around the text. See margin() for more details. When creating a theme, the margins should be placed on the side of the text facing towards the center of the plot. [as double]

debug

If TRUE, aids visual debugging by drawing a solid rectangle behind the complete text area, and a point where each label is anchored. [as boolean]

inherit.blank

Should this element inherit the existence of an element_blank among its parents? If TRUE the existence of a blank element among its parents will cause this element to be blank as well. If FALSE any blank parent element will be ignored when calculating final element state. [as boolean]

Details

Authors

SMRUCC genomics institute

Value

this function returns data object of type textElement.

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]