R: Text Plot

ggally_text {GGally} | R Documentation

## Text Plot

### Description

Plot text for a plot.

### Usage

    ggally_text(label, mapping = ggplot2::aes(color = "black"), xP = 0.5,
      yP = 0.5, xrange = c(0, 1), yrange = c(0, 1), ...)

### Arguments

`label` | text that you want to appear
`mapping` | aesthetics that don't relate to position (such as color)
`xP` | horizontal position percentage
`yP` | vertical position percentage
`xrange` | range of the data around it. Only nice to have if plotting in a matrix
`yrange` | range of the data around it. Only nice to have if plotting in a matrix
`...` | other arguments for geom_text

### Author(s)

Barret Schloerke schloerke@gmail.com

### Examples

    ggally_text("Example 1")
    ggally_text("Example\nTwo", mapping = ggplot2::aes(size = 15), color = I("red"))

[Package GGally version 1.3.2 Index]