All Questions
Tagged with scale-color-manual colors
6
questions
0
votes
1
answer
34
views
Using a color scheme and legend labels in plot_model
I would like to plot the results of a multilevel model in R, specifically to illustrate an interaction effect, using plot_model from sjPlot. I would like to use a specific color scheme and I would ...
0
votes
1
answer
441
views
Making a custom scale_color_gradient but assigning number values to the colors
I'm having trouble getting a custom color gradient to work. I want to assign certain colors to certain values but have the colors flow. This is what I've got so far.
thi_color_scale<-...
0
votes
1
answer
237
views
ggplot: colour of line segments according to variable value, like scale_color_gradient2
I have a df "test_data", which contains values of the recent year ("recent"), the year before ("before") and the difference between these two ("delta").
in the ...
0
votes
1
answer
3k
views
How to use scale_fill_manual to manually define bar plot colors
I am finalizing the representation of my dataset using ggplot2 and for the sake of clarity I would need a coloring scheme that defies standard ggplot2 "logic".
Below is a fake dataset to ...
0
votes
2
answers
2k
views
ggplot2 displays wrong colors with manual scale [closed]
I am trying to plot my data with manual color scale based on values. However the colors that are displayed nowhere near correspond to the values that I provide.
My data looks like this:
# A tibble: ...
-1
votes
1
answer
72
views
How to draw different colors on graph line and insert legend (color and column title)
I've tried assigning colors to each line. But, can't figure out how to show legend result as I want.
groupcolours <- c(NE="#999999",NS="#E69F00",NW="#56B4E9",NN="#009E73")
I input the following ...