Like this: x <- rnorm(100) hist(x) op <- par(fig=c(.02,.5,.5,.98), new=TRUE) boxplot(x)
-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O On 14/09/2007, Haiyong Xu <[EMAIL PROTECTED]> wrote: > > Hi there, > > I am wondering if it is possible to add a small boxplot in a > histogram, just like the legend. > > Thanks. > Haiyong > > ______________________________________________ > 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. > [[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.