replacePlotColor: replace the colors for plots

Description Usage Arguments Value Examples

View source: R/replacePlotColor.R

Description

replace the colors of plots to meet the requirment of publication. Replacing red with magenta or green with turquoise. Replacing all the colored symbols in the legend.

Usage

1

Arguments

plot

The grob to be plotted.

Value

an object of gtable.

Examples

1
replacePlotColor(displayColors(c("Red", "Green", "blue")))

colorBlindness documentation built on April 17, 2021, 9:06 a.m.