Displaying 1 result from an estimated 1 matches for "hist_and_plot".
Did you mean:
hist_and_plots
2008 Feb 27
2
multiple plots per page using hist and pdf
...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")
dev.off()
pdf(file = "hist_and_plots.pdf")
hist(iris$Sepal.Length, 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")
dev.off()
par(orig.par)
#...