Hi, I have two histograms created separately using the following code. It creates two separate figures.
dat <- read.table(file="GDS1096.modelout", head = FALSE ) __BEGIN__ dat <- read.table(file="GDS1096.modelout", head = FALSE ) hist(dat$V2, main="AIC Freq", xlab = "\# Component", breaks = 36, xlim = c(0,max(dat$V2)), col = "dark red", freq = TRUE) hist(dat$V3, main="BIC Freq", xlab = "\# Component", breaks = 36, xlim = c(0,max(dat$V2)), col = "blue", freq = TRUE) __END__ How can I joint this two histograms into one figure? Regards, Edward ______________________________________________ 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.