replacePlotColor {colorBlindness}R Documentation

replace the colors for plots

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

replacePlotColor(plot)

Arguments

plot

The grob to be plotted.

Value

an object of gtable.

Examples

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

[Package colorBlindness version 0.1.9 Index]