[R] graphics guide?

Ko-Kang Kevin Wang
Tue, 27 Sep 2005 13:38:08 -0000

Hi,

Karin Lagesen wrote:
> I am trying to create some graphs with R and it seems to be able to do
> what I need. However, I have so far not been able to find any sort of
> explanation of how the graphics system works. I am for instance trying
> to create a multiple figure, and I seem to have to call plot.new()
> before every new plot command, I have however not found any

Do you mean several graphs in the same window?

If so, you want something like, e.g.:
   par(mfrow = c(2, 2))

Take a look at ?par and the "mfrow" or "mfcol" options.

Cheers and HTH,

Kev

--
Ko-Kang Kevin Wang
PhD Student
Centre for Bioinformation Science
Building 27, Room 1004
Mathematical Sciences Institute (MSI)
Australian National University
Canberra, ACT 2601
Australia

Homepage: http://wwwmaths.anu.edu.au/~wangk/
Ph (W): +61-2-6125-2431
Ph (H): +61-2-6125-7488
Ph (M): +61-40-451-8301