ligges@statistik.uni-dortmund.de
2004-Oct-14 12:06 UTC
[Rd] plotmath in underlined style; was: Re: [R] Underline in expression(). (PR#7286)
In order not to forget it (I have not got any answer so far) ...
Uwe Ligges
-------- Original Message --------
Subject: plotmath in underlined style; was: Re: [R] Underline in
expression().
Date: Sun, 26 Sep 2004 18:50:02 +0200
From: Uwe Ligges <ligges@statistik.uni-dortmund.de>
Organization: Fachbereich Statistik, Universitaet Dortmund
To: John Janmaat <jajanmaat@netscape.net>, r-core@stat.math.ethz.ch
CC: sundar.dorai-raj@pdf.com
References: <41060ED9.5070907@netscape.net> <41067D20.70108@pdf.com>
<410744D0.8080107@netscape.net>
Please find attach a patch to include the feature to draw underlined
mathematical annotation.
Here is an example according to the feature request given below:
plot(0:1, 0:1, type="n")
text(0.5, 0.5, expression(underline(widehat(x %*% y))))
Since I am too late for R-2.0.0, should I send this one to r-bugs so
that we do not forget?
Uwe
John Janmaat wrote:> Sundar,
>
> Thanks. Unfortunately, I am looking for something that also works in
> the margins of the plot.
>
> 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
>>
>
