ggplot2 - assign color palette to legend

0 votes

How to edit the legend color in ggplot? I want to add a scatter density chart like below. Can someone help?

Aug 1 in Data Analytics by vishal
6 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Data Analytics

0 votes
1 answer

How to change fill color in each facet using ggplot2?

You can map the facetting variable to ...READ MORE

answered May 8, 2018 in Data Analytics by kappa3010
• 2,020 points
2,305 views
0 votes
0 answers

How to add color legend for box plots in R?

How to add color legend for box ...READ MORE

Jul 3 in Data Analytics by keerthi
10 views
0 votes
1 answer

Change ggplot2 default color palette

If the scale is continuous, then you can ...READ MORE

answered 5 days ago in Data Analytics by anonymous
• 22,030 points
10 views
0 votes
1 answer

How to plot side-by-side Plots with ggplot2 in R?

By Using gridExtra library we can easily ...READ MORE

answered Apr 16, 2018 in Data Analytics by DeepCoder786
• 1,700 points
1,304 views
0 votes
1 answer

How to stack scatterplot in ggplot2?

Use melt() to reshape your data with total as a factor ...READ MORE

answered May 8, 2018 in Data Analytics by darklord
• 6,140 points
154 views
0 votes
1 answer

How to order bars in a bar graph using ggplot2?

The key to ordering is to set ...READ MORE

answered Jun 1, 2018 in Data Analytics by DataKing99
• 8,100 points
136 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

Duplicate axis for a R plot

how to add duplicate axis as a ...READ MORE

Jul 25 in Data Analytics by karthick

edited Jul 25 19 views
0 votes
0 answers

Add secondary axis as a dual axis in R plot

Hi, I just started learning R. Can ...READ MORE

Jul 25 in Data Analytics by radha
18 views