[R] Multiple histograms in one plot

From: Johann Hibschman <johannh_at_gmail.com>
Date: Wed 18 Oct 2006 - 03:14:19 GMT


Hi all,

I'm trying to plot multiple histograms in one plot (cross-validation values of model parameters), but I cannot seem to reduce the margins enough to fit as many of them in as I would like.

I'm using split.screen to divide the window into a 5x4 grid, then plotting with hist. I've tried explicitly reducing the margins with par(mar=c(1,1,1,1)), but it doesn't seem to have any effect. Visually, there is a lot of whitespace and very little histogram in my results.

Can anyone suggest either a better method to visualize these results, a better way to plot histograms, or a way to actually reduce the margins used? The intent is to give a sense of how well-constrained the various model parameters are.

Thanks,

Johann



R-help@stat.math.ethz.ch 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. Received on Wed Oct 18 13:18:29 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 18 Oct 2006 - 09:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.