multicolor.title: Makes plot title using specified colors for the text

View source: R/cf_multicolor_title.R

multicolor.titleR Documentation

Makes plot title using specified colors for the text

Description

Makes plot title using specified colors for the text

Usage

multicolor.title(main, col.main, collapse = "", cex.main = par()$cex.main)

Arguments

main

Text to put in main title of plot

col.main

Colors to use for the text

collapse

What to put between elements of main, defaults to "" but " " might be appropriate

cex.main

The size of the main title. 1.2 is default.

Examples

plot(1:4)
multicolor.title(c('Black, ','red, ','green'),c(1,2,3))

ContourFunctions documentation built on Sept. 11, 2024, 8:47 p.m.