Dear all,

I am wanting to plot points that have a defined absolute size relative
to the scale of the axis.
For example, the following gives me a plot with sizes relative to the
defined "size" variable but are not of the specified absolute size
(relative to the axis)

coords <- as.data.frame(matrix(c(c(0,0),c(5,5),c(0,3)), 3, 2))

coords$radius <- c(1.4112, 2.34, 1.4573)
coords$size <- 2*coords$radius

plot(coords[,1:2], cex=coords[,4])


Any help would be much appreciated

Regards,
Kirsty

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to