guides_basic {ggplot2}R Documentation

Default guides

Description

Generate default guides (axes, and labels).

Usage

guides_basic(plot, scales, coordinates)

Arguments

plot plot object
scales plot scales
coordinates

Details

The default guides built for a plot are:

  • the background colour over the whole plotting area (white)
  • within each a panel a gray background with white gridlines (see \ggopt) to change)
  • vertical and horizontal axes (appearance control by options to the position scales)
  • facetting labels (see \ggopt) to change default colours etc)

    To decouple plot construction from the objects that are placed within it, each of the grobs produced by this function uses a \vpPath.

    Value

    background list of grobs to appear in background
    grid grobs that form background grob
    axes_v vertical axes
    axes_h horizontal axes
    labels row and column labels

    Author(s)

    Hadley Wickham <h.wickham@gmail.com>

    Examples

    
    
    
    
    
    [Package ggplot2 version 0.5.5 Index]