Reputation: 53806
Below is code I'm using to display a scatter diagram :
xx = c('test1' , 'test2' , 'test3')
yy = c(6 , 7 , 8)
df <- data.frame(xx , yy)
ggplot(df, aes(x=xx, y=yy)) + geom_point(alpha = .01) + theme_bw()
Why are the values of the scatter diagram not being displayed ?
Here is the output :
Upvotes: 0
Views: 126
Reputation: 60452
The alpha parameter alters transparency. Increase alpha to see the points.
Upvotes: 1