[R] equivalent of $\check Y$ in plotmath

Yihui Xie xie at yihui.name
Sun Feb 23 18:31:35 CET 2014


Whenever plotmath is unable to provide what you want, you can always
go to tikzDevice for native LaTeX support:
http://yihui.name/en/2011/04/produce-authentic-math-formulas-in-r-graphics/
Here is an example:

library(tikzDevice)
tikz('test-math.tex', standAlone = TRUE)
plot(1, main = '$\\check{Y}$')
dev.off()
system('pdflatex test-math.tex')


Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Web: http://yihui.name


On Sat, Feb 22, 2014 at 9:29 PM, Ranjan Maitra
<maitra.mbox.ignored at inbox.com> wrote:
> Hi,
>
> I am trying to put the expression which in LaTeX would be $\check Y$  as
> a label on the axis of a plot.
>
> How does one get the \check part of the above to produce a similar
> symbol in plotmath in R? I looked around plotmath's help but could not
> see this in the documentation.
>
> Many thanks for any suggestions, and best wishes,
> Ranjan
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-math.pdf
Type: application/pdf
Size: 20914 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140223/34039d1b/attachment-0002.pdf>


More information about the R-help mailing list