element_rect {ggplot2} R Documentation

Theme elements

Description


In conjunction with the theme system, the element_ functions
specify the display of how non-data components of the plot are
drawn.

borders and backgrounds.

Usage

element_rect(
    fill = NULL,
    colour = NULL,
    size = 1,
    linetype = Solid,
    color = NULL,
    inherit.blank = FALSE);

Arguments

fill

Fill colour.

color

Line/border colour. Color is an alias for colour.

colour

Line/border colour. Color is an alias for colour.

size

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

linetype

Line type. An integer (0:8), a name (blank, solid, dashed, dotted, dotdash, longdash, twodash), or a string with an even number (up to eight) of hexadecimal digits which give the lengths in consecutive positions in the string. [as DashStyle]

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

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]