How do I specify axis thickness in a plot? (in R)
I am using using plot(), matplot() and ggplot(). I am guessing the answer will be the same for all of them.
I want to specify the thickness of the y-axis, the x-axis, and the other two lines that constitute the box around the plot, all separately. How can I achieve that?
Thanks in advance.
Note: I have already read this - Increasing the thickness of box lines in an R boxplot? , but I want to change the thickness of the individual axis lines separately.
You mean list this?
plot(sample(100)) axis(side = 1, lwd = 2) axis(side = 2, lwd = 2)