I have some 100k values. When I plot them as a line in R (using plot(type="l")
the numbers next to the x-axis ticks are printed in scientific format (e.g. 0e+00,2e+04,...,1e+05
). Instead, I would like them to be:
A) 0,20kb,...,100kb
B) the same but now the first coordinate should be 1 (i.e. starting to count from 1 instead of 0).
BTW R arrays use numbering that starts from 1 (in contrast to arrays in perl, java etc.) so I wonder why when plotting "they" decided starting from 0...