#Questgion4 I think it show us one color for data <6 and other for the ones that do not are the condition.
library(ggplot2)
ggplot(mpg, aes(x = displ,y = hwy, color=displ<6))+
geom_point()Class_Activity
#Question3 Stroke is similar to Bold in word and we can use it with many shapes, however it doesn't look god with some of them
ggplot(mpg, aes(x = displ,y = hwy))+
geom_point(stroke = 2, shape = 11)#Question1
ggplot(mpg,aes(x=displ,y=hwy,color="pink"))+
geom_point(shape = 24)#Question2 Because the code is wrong , in this code the color "blue" is written inside aes() and also is not written inside the first mapping layer ggplot(mpg). In addition, the X and Y are not defined this was the first code:
#ggplot(mpg) +
#geom_point(aes(x = displ, y = hwy, color = "blue"))
ggplot(mpg,aes(x = displ, y = hwy)) +
geom_point(color = "blue")