On 16/02/2010, Peter Ehlers <ehl...@ucalgary.ca> wrote:
> On 2010-02-16 9:21, e-letter wrote:
>> Readers,
>>
>> I tried to the following commands:
>>
>> plot(y~x,ylab=expression(A[1]~B[2],xlab=expression(C~D))
>> mtext(expression(A[1]~B[2]),"additional text",side=3,line=1)
>
> Your plot() call is not reproducible.
>
> Anyway, try
>
> mtext(expression(A[1]~B[2]~~"additional text"),side=3,line=1)
>
Thank you. I had seen the command (~~) in the help guide for the
package plotmath(grdevices), but there is no statement that this
command can be used to join the expression to literal text.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to