Bulent -
   Many characteristics of plots are determined by the graphical
parameters documented in the help file for the par function.
In this case, the xaxp parameter should be useful.  Compare

plot(1:12,1:12)

with

plot(1:12,1:12,xaxp=c(0,12,12))

                                        - Phil Spector
                                         Statistical Computing Facility
                                         Department of Statistics
                                         UC Berkeley
                                         spec...@stat.berkeley.edu


On Sat, 26 Mar 2011, Bulent Arikan wrote:

Hi,
I am working on some line charts and although I have a lot of resources, I
cannot seem to find an answer to this question: how can I set the
incrementation of values on the x-axis values so that I can see all the
groups on this axis. Right now, R puts them at increments of 2 (i.e., 2, 4,
6, 8, 10, 12). I need to see all, from 1 to 12.

Thank you!

--
B?LENT

        [[alternative HTML version deleted]]



______________________________________________
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.

Reply via email to