Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to size points based on class like with ggplot2? #18

Open
benyamindsmith opened this issue Aug 25, 2022 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@benyamindsmith
Copy link

I am looking to see if its possible to size the points according to class or a continuous value with geom_scattermore() like how its possible with geom_point(). I've played around with it but I haven't managed to get anything.

Is it possible to have this feature included if it isn't there already?

image

@exaexa
Copy link
Owner

exaexa commented May 3, 2023

Hello,
apologies for a later reply, I completely forgot about this. Originally it was indeed impossible, at this point it is possible -- you can do this:

  • plot the points for the different classes separately
  • expand them using the proper kernel functions (that supports both shapes and sizes)
  • merge them loselessly using the RGBWT merge function

OTOH I'm completely unsure if this will carry easily to ggplot. Might need a ggplot expert.

@exaexa exaexa added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants