grid.xaxis {grid}R Documentation

Draw an X-Axis on a Grid Viewport

Description

This function draws an x-axis.

Usage

grid.xaxis(at = NA, label = TRUE, main = TRUE, gp=gpar(),
           draw = TRUE, vp = NULL)

Arguments

at A numeric vector of x-value locations for the tick marks.
label A logical value indicating whether to draw the labels on the tick marks.
main A logical value indicating whether to draw the axis at the bottom (TRUE) or at the top (FALSE) of the viewport.
gp An object of class gpar, typically the output from a call to the function gpar. This is basically a list of graphical parameter settings.
draw A logical value indicating whether graphics output should be produced.
vp A Grid viewport obect (or NULL).

Details

The "grob" object contains an object of class "xaxis".

Value

An object of class "grob".

Author(s)

Paul Murrell

See Also

Grid, viewport, grid.yaxis

Examples






[Package Contents]