I have plot a graph and wanted to add legends to that graph and I used the following code,
print(ggmap(m) + geom_point(aes(x=longitude, y=latitude, size= code, color=ifelse(value < 30, 'red',ifelse(value >55, 'green', 'blue') )), pch = 20, data=combined1) +
scale_color_identity() +
scale_colour_manual(name = 'legend', values =c('blue'='blue','red'='red', 'green'='green'), labels = c('Between 30 - 55','Less than 30','Greater than 55')))
But the size of the dots in the legends is very small. It's very minuscule. The following is the image I am getting,
Can anybody tell a technique to increase the size of the dots in the legend, so that it would have more sense. I have searched through many posts and was not able to find any.
Any help would be appreciated.
Thanks