hilight: Plot highlighted text

View source: R/plots.R

hilightR Documentation

Plot highlighted text

Description

Plot highlighted text

Usage

hilight(x, y, s, bg = "yellow")

Arguments

x

x position

y

y position

s

text

bg

highlight color

Author(s)

Sercan Kahveci

Examples

plot(mtcars$mpg,mtcars$wt,col=mtcars$cyl)
hilight(27,2.5,"Light and\nefficient")
hilight(17,4.5,"Heavy and\ninefficient")


Spiritspeak/skMisc documentation built on April 12, 2025, 5:40 a.m.