textplot: A Text-Only Plot

Description Usage Arguments Value See Also Examples

View source: R/plots.R

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

1
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

1
2
3
4
5
6
7
8
9
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))

caroline documentation built on May 29, 2017, 12:09 p.m.

Related to textplot in caroline...