[R] small plot inside a big plot
Roger D. Peng
rpeng at stat.ucla.edu
Fri Jun 6 23:59:12 CEST 2003
For a histogram, you might use `add = TRUE' in the call to hist().
-roger
Remko Duursma wrote:
> Dear R-helpers,
>
> i want to draw a small plot (histogram) within a larger plot (simple scatterplot), so that the axes of the bigger plot remain intact.
>
> I know how to use layout() and par(mfrow...) and such, but I want the smaller graph to be *inside* the bigger plot. Is this possible?
>
> thanks,
>
> Remko
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
More information about the R-help
mailing list