Use scale_size_continuous()
and set the same limits=
for all plots. With argument breaks=
you can set the values (breaks) you will get in legend. If the maximal size of point you get on plot is too small then you can also change argument range=
which default values are range=c(1,6)
.
g1 + scale_size_continuous(limits=c(1,30),breaks=c(5,10,20,30))
g2 + scale_size_continuous(limits=c(1,30),breaks=c(5,10,20,30))