[Rd] X11 device, plot(..., xlab=expression(...)): missing parentheses (PR#7005)

humbertc at univ-mlv.fr humbertc at univ-mlv.fr
Tue Jun 22 13:16:58 CEST 2004


Full_Name: Cyril Humbert
Version: 1.9.1
OS: Debian GNU/Linux (i386)
Submission from: (NULL) (193.50.159.2)


Hello,
For the X11 graphic device, parentheses are not displayed in 
labels for constructions like:

    X11()
    plot(0,0, ylab=expression(f(x)))

In this case, ylabel shows : 'yx' and not 'y(x)' as expected.
The same problem appears also with 'xlab' and 'sub' but not
with 'main':

    X11()
    plot(0,0, xlab=expression(x(t)), ylab=expression(y(t)), 
         main=expression(m(t)), sub=expression(s(t)))

-- 
R Version 1.9.1  (2004-06-21)



More information about the R-devel mailing list