9

I have plots with all the same values in scale_color_manual. I want to avoid this and just call one time a function like this : theme(manual_colors = c("#000000", "#111111"))

Is it possible ?

1 Answer 1

4

I think you can do this by masking scale_colour_discrete:

scale_colour_discrete <- function(...)  {

    scale_colour_manual(...,values=c("#000000","#111111"))
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.