In a regular ggplot2 implementation, alpha level, say in geom_point(), is applied on all data points irrespective of their degrees of overlapping. If I want to apply alpha only on overlapped data points, what options do I have? The only way I can think of: rather than supplying a single alpha value to the function, I can supply a vector of alpha values corresponding to each point. This way I can control the degree of transparency for each data point. This is, however, not practical for a large dataset. Any better ideas?

Thank you.

More Md Abdul Halim's questions See All
Similar questions and discussions