Message-ID: <20020827105234.INVO27131.mta09.mail.mel.aone.net.au@there>
Date: 2002-08-27T10:58:35Z
From: Jim Lemon
Subject: legend() outside plotting region
In-Reply-To: <Pine.SOL.4.21.0208272146090.21901-100000@stat1.stat.auckland.ac.nz>
Ko-Kang Kevin Wang wrote:
> Hi,
>
> Is it possible to put the legend outside the plotting region?
>
After you have plotted the data, use
par(xpd=T)
and then legend() with x,y values where you want it.
> ...As a side track, is
> there a better way to represent this, as 24 lines is very difficult to
> distinguish anyhow. This data frame, by the way, is a time series.
>
24 lines would probably confuse the average spider. What do you want to
illustrate? If it is a comparison between one group of lines and another,
you might be able to plot two polygons showing the region that each group
occupies, or something like that.
Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._