[R] adding plots to existent multiuple plots

Jannis bt_jannis at yahoo.de
Tue Jan 11 20:26:24 CET 2011


Ok....seems as I found a way. For anybody looking for a similar solution:

?split.screen


Cheers
Jannis

--- Jannis <bt_jannis at yahoo.de> schrieb am Di, 11.1.2011:

> Von: Jannis <bt_jannis at yahoo.de>
> Betreff: [R] adding plots to existent multiuple plots
> An: r-help at r-project.org
> Datum: Dienstag, 11. Januar, 2011 18:13 Uhr
> Dear list members,
> 
> 
> does anybody know a way how to add plots to already
> existing subplots created with layout? I have created two
> subplots via
> 
> layout(matrix(1:2))
> 
> and would like to add different plots to each of them. As I
> need to load data in between I need to add a plot to the
> first subplot, then the second, load data, and add a plot to
> the first again, followed by the second. Therefore I can not
> plot all plots in subplot 1 first, change the active plot
> and fill subplot 2.
> 
> Is there a way to set the subplots to be the active
> plotting region repeatedly?
> 
> 
> Thanks in advance
> Jannis
> 
> 
> 
> ______________________________________________
> 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