I am new to R and have created a boxplot, however my x axis labels are too long.
Is there a way to move the boxplot upwards WITHOUT using ggplot2 as I need this boxplot to be consistent looking with my other graphs.
I also need to add an x axis label and I'm aware of the mtext(...) to add the label instead, however when I have tried this previously it flashes on the screen and disappears.
I will attach my current code without the x axis title or text, just the x axis labels being to long.
ana2$B<-factor(ana2$Burn,c("N","L","S"))
with(ana2,boxplot(Time~ana2$B*Graze, ylab= "Infiltration Rate (mm/h) " , xlab=" ", names=c("1954 burn-Grazed", "Long interval-Grazed", "Short interval-Grazed", "1954 burn-Ungrazed", "Long interval-Ungrazed", "Short interval-Ungrazed"), cex.axis=0.75, ylim=c(0, 80000 ), las=2 ))