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

______________________________________________
[EMAIL PROTECTED] 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




______________________________________________ [EMAIL PROTECTED] 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

Reply via email to