[R] Scatterplot Showing All Points

Jim Porzak jporzak at gmail.com
Tue Dec 18 05:26:13 CET 2007


I am fond of the bagplot (think 2D box plot) to replace scatter plots
for large N. See
http://www.wiwi.uni-bielefeld.de/~wolf/software/aplpack/ and aplpack
in CRAN.

Jim Porzak
Responsys, Inc.
San Francisco, CA

On Dec 17, 2007 5:14 PM, Wayne Aldo Gavioli <wgavioli at fas.harvard.edu> wrote:
> Hello all,
> I'm trying to graph a scatterplot of a large (5,000 x,y coordinates) of data
> with the caveat that many of the data points overlap with each other (share the
> same x AND y coordinates).  In using the usual "plot" command,
> > plot(education, xlab="etc", ylab="etc")
> it seems that the overlap of points is not shown in the graph.  Namely, there
> are 5,000 points that should be plotted, as I mentioned above, but because so
> many of the points overlap with each other exactly, only about 50-60 points are
> actually plotted on the graph.  Thus, there's no indication that Point A shares
> its coordinates with 200 other pieces of data and thus is very common while
> Point B doesn't share its coordinates with any other pieces of data and thus
> isn't common at all.  Is there anyway to indicate the frequency of such points
> on such a graph?  Should I be using a different command than "plot"?
> Thanks,
> Wayne
> ______________________________________________
> R-help at 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.

More information about the R-help mailing list