powered by
Generates a sequence of colors along a specified range.
greenRed.colors(n, alpha = 1)redGreen.colors(n, alpha = 1)blueRed.colors(n, alpha = 1)redBlue.colors(n, alpha = 1)warmCool.colors(n, alpha = 1)coolWarm.colors(n, alpha = 1)pastel.colors(n, alpha = 1)
redGreen.colors(n, alpha = 1)
blueRed.colors(n, alpha = 1)
redBlue.colors(n, alpha = 1)
warmCool.colors(n, alpha = 1)
coolWarm.colors(n, alpha = 1)
pastel.colors(n, alpha = 1)
the number of colors to generate.
a measure of the intensity of the generated colors
A sequence of character strings indicating the colors.
Added from smwrGraphs.
# NOT RUN { redGreen.colors(2) blueRed.colors(2) # For examples of warmCool.colors in graphs see #demo(topic="DurationHydrograph", package="smwrGraphs") # All have similar usage # }
Run the code above in your browser using DataLab