Re: [R] help function axis

2012-08-15 Thread William Dunlap
p tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of John Kane > Sent: Wednesday, August 15, 2012 1:05 PM > To: aprendiz programa; r-help@r-project.org > Subject: Re: [R] help function axis > >

Re: [R] help function axis

2012-08-15 Thread John Kane
,"2003","2004","2005")) axis(2,0:9) plots for me. John Kane Kingston ON Canada > -Original Message- > From: aprendizprog...@hotmail.com > Sent: Wed, 15 Aug 2012 21:59:13 +0300 > To: r-help@r-project.org > Subject: [R] help function axis >

[R] help function axis

2012-08-15 Thread aprendiz programa
Hello, I'm trying plot a graph, but the x-axis is not appearing.What am I doing wrong? xx 2000 42001 72002 82003 92004 22005 1 x<-read.table("xx.txt", header=FALSE) plot(x,type="o",axes=FALSE,xlab="year",ylab="cases") axis(1,at=1:6, lab=c("2000","2001","2002","2003","2004","2005")) axis(2,0:9) H