Scale.color_discrete_manual

Create a discrete color scale to be used for the plot.

Arguments

Aesthetics Acted On

color

Examples

plot(x=rand(12), y=rand(12), color=repeat(["a","b","c"], outer=[4]),
     Scale.color_discrete_manual(colorant"red",colorant"purple",colorant"green"))
x 0.00 0.25 0.50 0.75 1.00 a b c Color 0.0 0.5 1.0 y