I am creating a plot in R and I dont like the x axis values being plotted by R.
For example:
x <- seq(10,200,10) y <- runif(x) plot(x,y)
Hope this coding will helps you :)
plot(x,y,xaxt = 'n') axis(side=1,at=c(1,20,30,50),labels=c("1975","1980","1985","1990"))