addGrid: Add a Grid to an Existing Plot.

View source: R/utils.R

addGridR Documentation

Add a Grid to an Existing Plot.

Description

It is possible to use automatically determined grid lines (x=NULL, y=NULL) or specifying the number of cells x=3, y=4 as done by grid. Additionally, x- and y-locations of grid-lines can be specified, e.g. x=1:10, y=seq(0,10,2).

Usage

addGrid(x = NULL, y = NULL, col = "lightgray", lwd = 1L, lty = 3L)

Arguments

x

(integer, numeric) single integer specifies number of cells, numeric vector specifies vertical grid-lines

y

(integer, numeric) single integer specifies number of cells, numeric vector specifies horizontal grid-lines

col

(character) color of grid-lines

lwd

(integer) line width of grid-lines

lty

(integer) line type of grid-lines

Author(s)

Andre Schuetzenmeister andre.schuetzenmeister@roche.com


VFP documentation built on Nov. 10, 2022, 5:12 p.m.

Related to addGrid in VFP...