I\'m trying to create a complex ggplot plot but some things don\'t work as expected.
I have extracted the problematic part, the creation of points and its associated
If you set the limits
to encompass the breaks
you'll be able to alter the legend. Current most of the breaks
are outside the default limits of the scale.
ggplot() +
geom_point(data = nodos,
aes(x = ord, y = event, size = NP), color="black", shape = 16) +
scale_size_continuous(name = "Prop.",
breaks = bb,
limits = c(.05, .4),
labels = ll,
range = c(0, 6) )