I'm relatively new to ggplot. In trying to adjust theme parameters for the axis titles I am running into some trouble. Specifically, I want to change font family, bold the text, and move the x axis title down slightly. I've tried the following code- I don't get an error but nothing in the graph changes. Any ideas what I'm doing wrong? My biggest concern is moving the title down with vjust, right now it's just too close to the tick labels for what I need. Thanks!
ggplot(Car_data, aes(x=Yearyear, y= Total_cars)) +
geom_line(aes(group=1), colour="#56B4E9", size = 1.5) +
geom_errorbar(aes(ymin= (Mean_Total_Cars - SE_Total_Cars), ymax= (Mean_Total_Cars + SE_Total_Cars)), width=.2, colour= "black") +
geom_point(stat = "identity", colour="gray40", size=5, shape= 18) + geom_point(stat = "identity", colour="#56B4E9", size=3, shape= 18) +
theme(axis.title.x = element_text(color = "black", size = 9, family = "Arial", face = "bold", vjust= 1)) +
theme(axis.title.y = element_text(color = "black", size = 9, family = "Arial", face = "bold")) +
theme(axis.text.x = element_text(color = "black", size = 9, family = "Arial", face = "bold")) +
theme(axis.text.y = element_text(color = "black", size = 9, family = "Arial", face = "bold")) +
ylab("Mean # Cars") +
xlab("Year")


,and a closing"inylab(expression(paste("Mean # Cars")")))- mnel