I tried:

    t <- "sample text"
    x <- 333

    plot( 1, 1
        , main=expression( main[x1] )
        , xlab=expression( paste( t, xlab[x2] ) )
        , sub=parse( text = paste( "sub[", x, "]" ) )
        )

The displayed labels for ``main'' and ``sub'' are as expected.
But ``xlab'' shows only "t" not "sample text".
How can I insert the string on which ``t'' points?

I tried e.g.:
    , ylab=parse( text = paste( t, "ylab[", x, "]" ) )
but I received an error (as suspected).

Wolfram

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to