[R] Plots inside a Plot

Petr PIKAL petr.pikal at precheza.cz
Mon Nov 1 12:27:47 CET 2010


Hi

I remember that I did it also in base graphics but it took me some time to 
find out how and it was a long time ago so. 

If I remember it correctly it was some combination of graphic parameters 
to set user coordinates and do not overwrite the first plot by setting 
par(new=TRUE)

Regards
Petr




r-help-bounces at r-project.org napsal dne 01.11.2010 12:10:18:

> Not in R base graphics, but you can do easily with the grid package.
> 
> Best,
> Uwe Ligges
> 
> 
> On 01.11.2010 11:59, Knut Krueger wrote:
> > hi,
> >
> > is it possible to draw a plot inside another plot f.e in the upper 
right
> > corner. I do not mean the possbility
> > par(mfrow = c(2,2).
> >
> >
> > Kind Regards
> > Knut
> >
> > ______________________________________________
> > R-help at 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.
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list