Re: [R] Underline in expression().

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Thu 29 Jul 2004 - 01:37:18 EST

John Janmaat wrote:

> Sundar,
>
> Thanks. Unfortunately, I am looking for something that also works in
> the margins of the plot.

As a workaround, what about frac() (well, vertical justification is not that perfect in this case)?

     plot(1:10, xlab = "")
     title(xlab = expression(frac(y == X * beta + e)),
           line = 4.5)

I'll probably take a look how to add that feature during August.

Uwe Ligges

> John.
>
> Sundar Dorai-Raj wrote:
>
>>
>>
>> John Janmaat wrote:
>>
>>> Hello All,
>>>
>>> Is there an analogue to \underbar or the AMS math \underline in
>>> graphical math expressions?
>>>
>>> Thanks,
>>>
>>> John.
>>
>>
>>
>> Uwe Ligges posted a solution a couple of years ago. I don't know if
>> there is anything built in yet. ?plotmath does not seem to say
>> anything about underlining.
>>
>> http://finzi.psych.upenn.edu/R/Rhelp01/archive/7191.html
>>
>> plot(0:1, 0:1, type="n")
>> underlined(0.5, 0.5, expression(widehat(x %*% y)))
>>
>> --sundar
>>
>> ______________________________________________
>> R-help@stat.math.ethz.ch mailing list
>> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>>
>



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 29 02:20:18 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:19 EST