Learn R Programming

ggplot2 (version 0.9.0)

theme_rect: Theme element: rectangle.

Description

Most often used for backgrounds and borders.

Usage

theme_rect(fill = NA, colour = "black", size = 0.5,
    linetype = 1)

Arguments

fill
fill colour
colour
border color
size
border size
linetype
border linetype

See Also

rectGrob for underlying grid function