Re: [R] plot axis appearance problem

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat 02 Apr 2005 - 04:41:01 EST

?par look at xaxs.

Or just read `An Introduction to R' more carefully!

On Fri, 1 Apr 2005, Yogesh K. Tiwari wrote:

> 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=NA,type="p",col=5)
>
> 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.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Apr 02 06:28:25 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:00 EST