Rcssplot (version 1.0.0)

ctext: Write styled text into a plot corner

Description

This can be suitable for placing a label in a multi-panel figure. Note the automatic placement does not work when a plot is generated with logarithmic scales.

Usage

ctext(
  label,
  x = NULL,
  y = NULL,
  adj = NULL,
  cex = NULL,
  Rcss = "default",
  Rcssclass = NULL,
  ...
)

Arguments

label

character, text for corner label

x, y

numeric, positions for manual placement

adj

numeric of length 2, argument adj for text

cex

numeric, argument cex for text

Rcss

style sheet object

Rcssclass

character, style class

...

additional argument, passed to text()

Examples

Run this code
# NOT RUN {
plot(1:10, 1:10)
ctext("A")

# }

Run the code above in your browser using DataCamp Workspace