Hello, I am trying to plot multiple histograms with the same scales, etc into one plot. The commands below produce a 3 page PDF with each histogram occupying the upper right quadrant. And use slightly different scales on the X and Y axes.
> s21 <- dat[dat$sc_recov=="21",] > s21.ED <- subset(s21, select=(bbED)) > s31 <- all[all$sc_recov=="31",] > s31.ED <- subset(s31, select=(bbED)) > s41 <- all[all$sc_recov=="41",] > s41.ED <- subset(s41, select=(bbED)) > pdf("234_1_ED.pdf") > par(mfrow = c(2, 2), oma = c(0, 0, 2, 0)) > hist(s21.ED) + hist(s31.ED) + hist(s41.ED) > dev.off() Also, for example if I add something like col="x", or main="x" to the hist(x, ...) nothing appears on the plot. ? Please advise, Thank you kindly, M Just [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.