[R] xlab not displayed when 'expression' is used in R 1.1.0

Ernesto Barrios ebarrios at tim.engr.wisc.edu
Tue Jun 20 19:13:08 CEST 2000


Greetings everyone,

I'll appreciate any help to understand the problem I'm having with
'expression' when I use it to label the x-axis of a plot.

I get the same behaviour under Windows NT4 SP6, and Windows 2000.
Trying

 plot(1:10,1:10,xlab=expression(X[i]),ylab=expression(Y[j]))

R 1.0.1 does what I'd expected it to do. However R 1.1.0 shows the
y-label properly but the x-label is not displayed at all. While

 plot(1:10,1:10,xlab="X",ylab="Y")

shows the x & y labels correctly in both versions. 

I obtain the same unexpected results using the postcript driver. I
looked at the ps file and the X_i for the x-label is missing.

Am I missing something with my Rw1.1.0?

Thanks for your help,

Ernesto Barrios
ebarrios at engr.wisc.edu
CQPI/UW-Madison
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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