search for: just_plots

Displaying 1 result from an estimated 1 matches for "just_plots".

2008 Feb 27
2
multiple plots per page using hist and pdf
...in a 4 page pdf with one plot per page. How might I get the histogram with 3 other scatter plots onto a single pdf page? platform powerpc-apple-darwin8.10.1 version.string R version 2.6.1 (2007-11-26) Thanks! Ben ###BEGIN data(iris) orig.par = par(no.readonly = TRUE) pdf(file = "just_plots.pdf") par(mfrow=c(2,2)) plot(iris$Sepal.Length, iris$Sepal.Width, main = "Plot 1") plot(iris$Petal.Length, iris$Petal.Width, main = "Plot 2") plot(iris$Sepal.Length, iris$Petal.Length, main = "Plot 3") plot(iris$Sepal.Width, iris$Petal.Width, main = "Plot 4...