[R] single plot statement, multiple plots

From: Shubha Vishwanath Karanth <shubhak_at_ambaresearch.com>
Date: Tue, 06 May 2008 19:17:29 +0530

Hi R,  


x1=(1:5)^1; x2=(1:5)^2; x3=(1:5)^3; x4=(1:5)^4  

I need to write a single plot statement, which creates 4 plots (for x1, x2, x3 and x4) in the graphics window, without using 'for' loop. Is this possible? Does 'do.call' help in this context? Or do I have any option in the 'plot' statement itself to do this?  

Thanks in advance,


This e-mail may contain confidential and/or privileged i...{{dropped:13}}

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. Received on Tue 06 May 2008 - 13:57:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 06 May 2008 - 15:00:34 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.

list of date sections of archive