When I make a graph in R, it always turns out with a thicker axis along the numbered part of the surrounding field. This is a nuisance, since I always have to turn off the axes in the plot () and then redraw them with zero thickness. I noticed that the computers of other employees do not seem to have this problem, which makes me wonder where this problem came from.
Section 1 generates my unwanted thick axes, graph 2 works as a solution:
x<-c(1:10)
y<-c(1:10)
plot(x,y, main="Plot 1")
plot(x, y, xaxt='n', yaxt='n', main="Plot 2")
axis(1, lwd=0, lwd.ticks=1)
axis(2, lwd=0, lwd.ticks=1)
I am running RStudio 0.98.501 on Mac OSX 10.9.4
Any ideas at the root of the error are greatly appreciated. Thank.


Mbeck source
share