[R] multiple plots problem

Hanke, Alex HankeA at mar.dfo-mpo.gc.ca
Thu Apr 1 16:58:20 CEST 2004


Correction:
I should have wrote
layout(matrix(c(1,2,3,4), 2, 2, byrow = TRUE))
Sorry
Alex
-----Original Message-----
From: Hanke, Alex [mailto:HankeA at mar.dfo-mpo.gc.ca] 
Sent: April 1, 2004 9:25 AM
To: 'Oleg Bartunov'; 'r-help at stat.math.ethz.ch'
Subject: RE: [R] multiple plots problem


The command:
layout(c(1,2,3), 3, 1) specifies 3 plots
Try
layout(1:4,2,2,byrow=T)

Regards,
Alex
-----Original Message-----
From: Oleg Bartunov [mailto:oleg at sai.msu.su] 
Sent: April 1, 2004 7:39 AM
To: R-help
Subject: [R] multiple plots problem


Hello,

for testing & learning purposes I create X11 device and specify layout like
layout(c(1,2,3), 3, 1), so I could play with parameters and see
several plots at the same time. That works fine until I try to create 4-th
plot - all other plots erased. Such behaviour isn't desirable for testing
purposes and I'm asking  where to look to disable erasing other plots.

	Regards,
		Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg at sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list