[R] Aspect ratio and limits

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Apr 19 17:42:55 CEST 2005


Barry Rowlingson wrote:
> Suppose I have the following data I want to scatterplot:
> 
<snip>
> 
>  Is there a right way to do this? The only way I can think is to do the 
> plot without box and axes, and then add them afterwards, but that could 
> get very messy. Have I missed something obvious?
>

Package MASS has eqscplot() which can produce rectangular plots with 
equal scales. It is used in Chapter 11 of MASS 4th Ed for example.

G

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpsonATNOSPAMucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the R-help mailing list