-
-
Save gtgrthrst/ff09bcbc4b7543df0af96e7ed1eb850c 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) | |
ggplot(iris, mapping = aes(x = Petal.Length, y = Petal.Width)) + | |
geom_point(shape = 21,colour = "blue", fill = "skyblue1", alpha = 0.7) + | |
theme(axis.title=element_blank(), | |
axis.text=element_blank(), | |
axis.ticks=element_blank() | |
) + #刪除XY軸 | |
guides(fill = FALSE, color = FALSE, linetype = FALSE, shape = FALSE) #刪除圖例 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment