plot.dd {DescribeDisplay}R Documentation

Draw dd plot

Description

Draw a complete describe display.

Usage

plot.dd(x, ..., draw = TRUE, axislocation = c(0.1, 0.1))

Arguments

x dd object to plot
... (unused)
draw draw plot, or just return grob
axislocation

Details

If you want to layout multiple dd plots on the same page, you can use grid.layout. If you need even more control, set draw = FALSE and then grid.draw the resulting grob yourself.

This function reads a number of options directly out of the descripedisplay datastructure. See the examples for ways to use these.

Value

frame grob containing all panels, note that this does not contain the title or border

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

ash <- dd_load(system.file("examples", "test-ash.r", package="DescribeDisplay"))
plot(ash)
ash$plots[[1]]$drawlines <- TRUE

texture <- dd_load(system.file("examples", "1d-texture.r", package="DescribeDisplay"))
plot(texture)
texture$plots[[1]]$yscale <- expand_range(texture$plots[[1]]$yscale, 0.5)
plot(texture)

[Package DescribeDisplay version 0.1 Index]