Skip to content

overlapping points are semi-transparent #25

@igordot

Description

@igordot

I am having some issues with the alpha parameter.

This is the ggplot2 version:

ggplot(mtcars, aes(mpg, wt, colour = factor(cyl))) + geom_point(size = 10, alpha = 1)

image

And the scattermore version:

ggplot(mtcars, aes(mpg, wt, colour = factor(cyl))) + geom_scattermore(pointsize = 15, alpha = 1, pixels = c(300, 300))

image

As you can see, when the points are overlapping, they are semi-transparent if they are different colors.

I am using scattermore 1.2 and ggplot2 3.5.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions