[R] Unexpected mfrow, layout behavior (pdf still has multiple pages)

2009-02-05 Thread Paul Johnston
My goal is to create a graph with one column and three rows into a single graphic. The mfrow, mfcol, and layout functions all have the same effect: three graphs are produced in a single pdf file, having one graph per page. This is not what I want (I didn't want multiple pages). Just before I

Re: [R] Unexpected mfrow, layout behavior (pdf still has multiple pages)

2009-02-05 Thread Peter Dalgaard
Paul Johnston wrote: My goal is to create a graph with one column and three rows into a single graphic. The mfrow, mfcol, and layout functions all have the same effect: three graphs are produced in a single pdf file, having one graph per page. This is not what I want (I didn't want multiple

Re: [R] Unexpected mfrow, layout behavior (pdf still has multiple pages)

2009-02-05 Thread Paul Johnston
You are correct, thank you. I added a new subsection 'Graphics Devices' in http://wiki.r-project.org/rwiki/doku.php?id=tips:surprises:traps to document this behavior. Paul On Thu, Feb 5, 2009 at 4:58 AM, Peter Dalgaard p.dalga...@biostat.ku.dk wrote: Paul Johnston wrote: My goal is to create a