I would like to do a plot in R (using the plot function) with log scale on Y axis which shows on the y axis only the power of 10 in a style like 10, 100, 1000... Is it possible ? I do not like the solution with xant="n" or yant="n" , explained here, which suppress x-axis or y-axis, because if I use a code like:
plot(x33,y33,log = "x",xaxt="none",xlab =xlab.text ,ylab = "Signal Density (a.u.)",main=expression('Relaxation times distribution - H'[2]*'O'),
las=1,cex.main=1,font.main=2,font.lab=2, cex.lab=0.9, cex.axis=0.7,type = "l",lwd=1.5,
col="red",ylim = c(0,2000))
axis(1, 10^seq(0L,6L,2L),cex.axis=0.7)
it shows me axis with 1e+00,1e+02...and I do not like this format. If I use the same code with seq() instead of 10^seq(0L,6L,2L), how can I say it to print only powers of 10 ? I know xant and yant are the straightforward solution but I do not know how to use them such that I can print 10, 100, 1000...