[R] How to force axis to have the same range

Dieter Menne dieter.menne at menne-biomed.de
Mon Apr 20 18:18:27 CEST 2009


Sebastien Bihorel <Sebastien.Bihorel <at> cognigencorp.com> writes:

> I am trying to produce (standard and trellis) scatterplots which use the 
> same range of the x and y axes. In addition, I would like the plots to 
> be physically square. Is there one or more specific argument(s) to plot 
> and xyplot what would do that? I have looked at various combinations of 
> asp and pin value, but could not get what I wanted..

In lattice : aspect = 1

Dieter




More information about the R-help mailing list