[R] axes with same scale

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Dec 16 08:58:07 CET 2002


On Mon, 16 Dec 2002, Michel ARNAUD wrote:

> Does anybody know how to draw a plot with same units on each axes ?
> For exemple,  if on X the range of value is [1, 2] and on Y the range is [1, 10] I would like the length of Y is  5*the length of  X.
> Any suggestions ?

1) use eqscplot in package MASS

2) use argument `asp' (documented in ?plot.window)

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list