R: A Text-Only Plot

textplot {caroline} | R Documentation

## A Text-Only Plot

### Description

Generate a new plot window with just text centered in the middle. This is ideally used in conjunction with the 'layout' command to label columns and rows of the grid.

### Usage

    textplot(..., x=1, y=1)

### Arguments

`...` | parameters passed to the 'text' function
`x` | the x position of the text.
`y` | the y position of the text.

### Value

A new plot window wiht just text

### See Also

`layout, text`

### Examples

    layout(rbind(c(1,1,1),c(2,3,4), c(5, 6,7)),
           widths=c(5, 10,10) , heights=c(5, 10,10))
    textplot('title', cex=2)
    textplot('row 1', srt=90, cex=2)
    plot(1,2)
    hist(c(1,2,34,4,3,2,2))
    textplot('row 2', srt=90, cex=2)
    pie(c(1,23,3,1,1,2,3,4,54,5))
    plot(c(1,2,4,4,23,2), c(1,2,4,3,2,2))

[Package caroline version 0.7.6 Index]