Dear all,

I am using the smoothScatter function in base R for a plot -

Lab.palette.both <-
colorRampPalette(c("darkblue","lightblue","red","yellow"), space = "Lab")

smoothScatter(X24fresh.sorted[,c(13,10)], colramp = Lab.palette.both)


I understand that my yellow colored points represent highest density, red
lower, lightblue even lower etc. But how do I obtain a legend with the
actual counts for this figure?

I would really appreciate your help.

Thanks!
Kurinji

Grduate Student
Johns Hopkins University/University of Southern California

        [[alternative HTML version deleted]]

______________________________________________
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