Is this what you want
Have a look at ?par and ?axis (note the las=1 is just
to rotate the letters)
-----------------------------------------------
aa <- 1:5
plot(aa, yaxt='n')
axis(2, at=1:5,
c("a","b","c","d","e"), las
=1)
aa <- 1:5
plot(aa, yaxt='n')
axis(2, at=1:5,
c("a","b","c","d","e"))
---------------------------------------------
--- Keith Jones <keithlj at suddenlink.net> wrote:
> Hi,
>
> I would like to tell R what increments to put the
> tick marks on an
> axes, e.g. xlim=seq(-5,5,1).
>
> I know that will not work. xlim will only except
> the beginning and
> end of the range for the axes.
>
> Thanks,
>
> Keith jones
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>