-
-
Save gtgrthrst/bf17b5e2ff23fb3fb2b3b63693953382 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
plotdata <- data.frame(V1 = c(1:10), | |
V2 = c(1:10), | |
V3 = c(rnorm(10))*10) | |
ggplot(data = plotdata, aes(x = V1, y = V2, size = V3))+ | |
geom_point( alpha = 0.2, fill = "blue",shape = 21)+ | |
theme(axis.title=element_blank(), | |
axis.text=element_blank(), | |
axis.ticks=element_blank())+ | |
guides(fill = FALSE, color = FALSE, linetype = FALSE, shape = FALSE, size = FALSE) #刪除圖例 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment