[R] par(mfrow=c(3,4)) problem

greg holly m@k@hholly @ending from gm@il@com
Wed May 30 10:42:55 CEST 2018


Hi all;

I need to put 12 different plot2 into the same matrix. So my array for the
matrix will be par(mfrow=c(3,4)).  I am running ggplot2 to produce my 12
plots. For some reason, par(mfrow=c(3,4)) did not turn out 3*4 matrix.

my basic R codes for each plot is
par(mfrow=c(3,4))
library(ggplot2)
p <- ggplot(a, aes(x=Genotypes, y=Plant_hight, size=Plant_hight,
color=Showing_rate)) +
.
.

Best regards,

Greg

	[[alternative HTML version deleted]]



More information about the R-help mailing list