[R] Bug in legend?

Paul Murrell p.murrell at auckland.ac.nz
Thu Aug 1 04:30:49 CEST 2002


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



More information about the R-help mailing list