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

2014-02-23 Thread Ranjan Maitra
Thanks, Yihui!! This works!!

Best wishes,
Ranjan


On Sun, 23 Feb 2014 11:31:35 -0600 Yihui Xie  wrote:

> 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 
> Web: http://yihui.name
> 
> 
> On Sat, Feb 22, 2014 at 9:29 PM, Ranjan Maitra
>  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
> >


-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. Please respond to the mailing list if appropriate.
For those needing to send personal or professional e-mail, please use
appropriate addresses.


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!

__
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.


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

2014-02-23 Thread Yihui Xie
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 
Web: http://yihui.name


On Sat, Feb 22, 2014 at 9:29 PM, Ranjan Maitra
 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
>


test-math.pdf
Description: Adobe PDF document
__
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.


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

2014-02-22 Thread Ranjan Maitra
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

-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. Please respond to the mailing list if appropriate.
For those needing to send personal or professional e-mail, please use
appropriate addresses.


FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your 
desktop!

__
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.