Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Multiple Plots

Place three plots on a single plot with layout

[width=0.8]rplot-multi-hist



pdf("graphics/rplot-multi-hist.pdf")
layout(matrix(c(1, 1, 2, 3), 2, 2, byrow = TRUE))
hist(rnorm(100),col='blue')
hist(rnorm(50),col='blue')
hist(rnorm(60),col='blue')
dev.off()

http://rattle.togaware.com/code/rplot-multi-hist.R



Copyright © 2004-2006 [email protected]
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.