Skip to content

line graph question

4 messages · Bulent Arikan, Jim Lemon, Phil Spector +1 more

#
On 03/27/2011 09:21 AM, Bulent Arikan wrote:
Hi Bulent,
First try:

plot(...,xaxt="n",...)
axis(1,at=1:12,labels=1:12)

and if they are still not there, look at staxlab in the plotrix package.

Jim
#
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
 					 spector at stat.berkeley.edu
On Sat, 26 Mar 2011, Bulent Arikan wrote:

            
#
?axis

Sent from my iPad
On Mar 26, 2011, at 18:21, Bulent Arikan <bulent.arikan at gmail.com> wrote: