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

alpha does not work in geom_raster like it does in geom_tile #596

Closed
cwickham opened this issue Jun 25, 2012 · 0 comments
Closed

alpha does not work in geom_raster like it does in geom_tile #596

cwickham opened this issue Jun 25, 2012 · 0 comments

Comments

@cwickham
Copy link
Contributor

df <- expand.grid(x = 1:5, y = 1:5)
df$z <- rnorm(df$x)
qplot(x, y, data=df, geom = "tile", fill = z)
# works as expected
qplot(x, y, data=df, geom = "tile", alpha = z)

# same as geom_tile
qplot(x, y, data=df, geom = "raster", fill = z)
# UNEXPECTED not the same as geom tile
qplot(x, y, data=df, geom = "raster", alpha  = z)
kohske added a commit to kohske/ggplot2 that referenced this issue Jun 25, 2012
kohske added a commit to kohske/ggplot2 that referenced this issue Jun 25, 2012
@kohske kohske closed this as completed in e96c7f7 Jun 27, 2012
@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants