There are probably much more fancy ways to do this, but since no one else has posted a response, here's what I would do:
> plot(seq(10, 40, 10), axes = FALSE) > axis(1, at = 1:4, lab = LETTERS[1:4]) > axis(side = 2) > box() On 10/20/07, Yong Wang <[EMAIL PROTECTED]> wrote: > Dear R-list > > My question is exactly as the subject, I did search the archieve but > failed to find relevant message, in more details: > > The simplest example, 4 factors and 4 value like below: > 10 20 30 40 > A B C D > > if I plot the value, the x-axis will be scaled as 1,2,3,4 with each > represent a level. How can I change the x-axis scale to A,B,C,D ? > > Regards > young > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.