powered by
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.
grid.layout
draw = FALSE
grid.draw
# S3 method for dd plot( x, y = NULL, ..., draw = TRUE, axislocation = c(0.1, 0.1), size = 0.9, axisgp = gpar(col = "black"), background.color = "grey90" )
frame grob containing all panels, note that this does not contain the title or border
dd object to plot
NULL to satisfy generic functions and methods rules
(unused)
draw plot, or just return grob
location of axes (as x and y position in npc coordinates, ie. between 0 and 1)
size of plot as a proportion of the total display area (set to 1 for printed out)
color of the axis
color of in the background of the plot
Hadley Wickham h.wickham@gmail.com
This function reads a number of options directly out of the descripedisplay datastructure. See the examples for ways to use these.
plot(dd_example("xyplot")) plot(dd_example("tour1d")) plot(dd_example("tour2d"))
Run the code above in your browser using DataLab