Skip to content
Prev 264602 / 398502 Next

how to best present concentrated data points/ ggplot2

Hi Yang,
Strategies for dealing with overplotting include transparency, size,
and jittering. In your example you'll probably need all three.

m + geom_point(aes(x = expo, y = ze, shape = type),
  size = 1, alpha = .2,  position = position_jitter(width = 0, height
= 5)) + geom_density()

seems to work OK.

Best,
Ista
On Tue, Jul 5, 2011 at 8:46 PM, Yang Lu <Yang.Lu at williams.edu> wrote:
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org