Skip to content
Back to formatted view

Raw Message

Message-ID: <3D489D59.8344D488@stat.auckland.ac.nz>
Date: 2002-08-01T02:30:49Z
From: Paul Murrell
Subject: Bug in legend?

Hi


Steve Roberts wrote:
> 
> This is a bit obscure but caused me some grief...  R1.5.1/MS
> Windows
> 
> There seems to be a peculiarity in legend associated with the use
> of expression text. It seems as if expression text is used in (eg) an
> mtext call then if the call to legend also includes expression text
> and a subscript then the legend box and line spacing depends on
> the value of cex used in the previous call to mtext, rather than that
> specified in the call to legend.
> 
> An R file which demonstrates the problem is pasted below (subject
> to the usual line wrapping issues)


I haven't had time to have a close look at why this is happening, but
...
(i) I can confirm the problem in R 1.5.1 on solaris
(ii) It appears to be fixed in the development version (on solaris)

BTW, very nice demonstration code :)

Paul
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._