Hello guys,
this is the code I am using right now:
gf_bar(~PP06, data = ErgUmfrage, fill = ~PP03, position = "fill")
I would like to change the female color into "lightsalmon" and the male color into "grey35".
Is there any possibility?
Thank u !
Hello guys,
this is the code I am using right now:
gf_bar(~PP06, data = ErgUmfrage, fill = ~PP03, position = "fill")
I would like to change the female color into "lightsalmon" and the male color into "grey35".
Is there any possibility?
Thank u !
Solution:
gf_bar(~PP06, data = ErgUmfrage, fill = ~PP03, position = "fill")+scale_fill_manual(values = c("lightsalmon","grey35"))
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.