ggplot2_Modify axis label, move axis title, multiple graphs together

Good morning, everybody.
I'm making a boxplot with ggplot2 3.2.1.
I can't understand how to move the titles of the axes further away from the chart and put the black color to the values of the x and y axes. I will then have to make other equal graphs with other parameters and then put all the graphs inside the same graph window.

Thank you very much for your help.

Hi, welcome!

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

Yes, I use these codes to create my graph

NO2 <- ggplot(data=data,aes(x=Station, y=NO2, fill=Tide)) +
scale_fill_manual(name="Tide", values = c("Orange", "green")) +
xlab("Stations") +
ggtitle("Nitrite") +
ylab("µmol/L") +
theme_bw() +
theme(plot.title = element_text(hjust = 0.5))


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.