powered by
getmagsize(mag, minsize = 1, slope = 1, minmag = 0, maxmag = 8, style = 1)
mag = 0:9 x = runif(10, 1, 100) y = runif(10, 1, 100) g = getmagsize(mag) plot(c(0, 100), c(0, 100), asp=1, type='n') points(x, y, pch=1, cex=g)
Run the code above in your browser using DataLab