setup_viewports {ggplot}R Documentation

Setup viewports

Description

Setup matrix of viewports for a layout with given parameters

Usage

setup_viewports(type, rows=nrow(data), cols=ncol(data), data, offset=c(0,0), range, angle=0)

Arguments

type viewport type
rows number of rows
cols number of columns
data optional data to compute rows and columns from
offset offset from top and left
range list containing x and y ranges
angle

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot version 0.4.2 Index]