setup_viewports {ggplot2}R Documentation

Setup viewports

Description

Setup matrix of viewports for a layout with given parameters

Usage

setup_viewports(type, data, offset = c(0,0), clip = "on")

Arguments

type

viewport type

data

number of rows

offset

number of columns

clip

optional data to compute rows and columns from

offset from top and left

list containing x and y ranges

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot2 version 0.8.9 Index]