Skip to content
Prev 177832 / 398502 Next

multiple plots in same graph window

On Apr 21, 2009, at 12:58 PM, BARRES-DE-ALMEIDA U. wrote:

            
Either use layout or par(mfcol=2, mfrow=2)

Modified from the example in layout's help:
  layout(matrix(c(1,2,3,4), 2, 2, byrow = TRUE))
  ## show the regions that have been allocated to each plot
  layout.show(4)
David Winsemius, MD
Heritage Laboratories
West Hartford, CT