[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) Help me!

Re: [R] help function axis

2012-08-15 Thread John Kane
-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 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

Re: [R] help function axis

2012-08-15 Thread William Dunlap
[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 Well, first thing wrong is no data. See ?dput as a way to supply sample data Other than that everything seems