[19005] in s-news-athena
Re: [S] Aspect Ratio in Plots
daemon@ATHENA.MIT.EDU (Prof Brian D Ripley)
Mon Aug 23 03:02:25 1999
Date: Mon, 23 Aug 1999 07:57:41 +0100 (BST)
From: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
To: "Jason G. Cummins" <jason.cummins@nyu.edu>
Cc: S-news@wubios.wustl.edu
In-Reply-To: <4.1.19990822163443.00a18a50@is9.nyu.edu>
Message-Id: <Pine.GSO.4.05.9908230756390.1563-100000@auk.stats>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 22 Aug 1999, Jason G. Cummins wrote:
> I'd be obliged if anyone could tell me how to change the aspect
> ratio in plots. Splus defaults to show my plots in ranges that
> are deceptive. For example, the domain of the Y-axis is [0,5]
> while that for the X-axis is [0,10]. I want Splus to plot the
> x and y axes so that the length in the plot from 0 to 1 in the
> Y domain is the same as the length from 0 to 1 in the X domain.
> By default Splus will instead change the aspect ratio so that
> a given distance in the Y domain is one-half of that in the
> X domain. This makes the slope of the ksmooth, e.g., appear
> to be twice what it actually is.
Use function eqscplot in library MASS, which does all the work for you.
--
Brian D. Ripley, ripley@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
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news