Skip to content
Prev 241971 / 398500 Next

aspect ratio 1 and blank space

On Windows R 2.12.0, the following seemed to work for me:

par(pty="s")  ## before plotting
plot(1:10,xlim=c(0,20),ylim=c(0,30))

I do not find that setting the asp parameter does anything useful;
indeed, the Help documentation seems to be backwards (asp=x/y not
y/x).  I probably misunderstood and/or misused it, though -- asp seems
to interact with the xlim and ylim settings in inscrutable ways ... on
Windows, anyway.

HTH.

Cheers,
Bert
On Wed, Nov 17, 2010 at 9:26 AM, Silvia Cecere <scecere at yahoo.com> wrote: