> From: Yogesh K. Tiwari > > Hello, > > When I plot any data with simple plot command in > R, for example :- > > plot(time,co2,ylim=c(350,380),xlim=c(1993,2003),xlab=NA,ylab=N > A,type="p",col=5) ^^^^^^^^^^^^^^^^^
R can only do what you _ask_ it to do, not what you want it to do. You have explicitly tell R to limit the range of the x-axis to 1993 and 2003. If you want to include the origin (0, 0), use 0 as the lower limit in both ylim and xlim. Andy > Then the first value of x-axis(350) and > y-axis(1993) never starts from origin, always they > sifted from the origin. Is there any command that > I can correct this in the ploted figure and both > the axis values start from origin. > > Thanks for help, > > Regards, > Yogesh > > > -- > > =========================================== > Yogesh K. Tiwari, > Max-Planck Institute for Biogeochemistry, > Beutenberg Campus, Hans-Knoell-Strasse 10, > D-07745 Jena, > Germany > > Office : 0049 3641 576 376 > Home : 0049 3641 223 163 > Fax : 0049 3641 577 300 > Cell : 0049 1520 4591 008 > e-mail : [EMAIL PROTECTED] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
