Learn R Programming

colorBlindness (version 0.1.6)

replacePlotColor: 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

Run this code
# NOT RUN {
replacePlotColor(displayColors(c("Red", "Green", "blue")))
# }

Run the code above in your browser using DataLab