Dear all,

When making a plot with the command plot(xVector, yVector), there are many
points that collide on the same place in the plot. In order to make this
plot clearer, I have been looking for a way to colour the points based on
the number of points that fall onto each other. If only one point falls on a
particular location, make it gray, if many points fall, make it black.

I tried to search the help archives, but didn't find any useful answers.
Anyone has any suggestion?

Many thanks for your help!

Aditya

-- 
Aditya Bhagwat

        [[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