[R] setting x-y axis at origin

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Mar 15 19:31:05 CET 2004


?par, look at xaxs and yaxs, especially style "i".

On Mon, 15 Mar 2004, christopher ciotti wrote:

> I'm just getting into 'R' and am having trouble setting up the x-y axis 
> to share (0,0).  In the example posted here: 
> http://geocities.com/chris_ciotti/Images/part1.pdf, each axis has a 0 
> which I do not want. 
> 
> Any help on getting a graph starting at (0,0) would be greatly 
> appreciated. 

-- 
Brian D. Ripley,                  ripley at 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




More information about the R-help mailing list