Re: [R] prime in expression in plot

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 10 Jan 2007 - 15:06:05 GMT

Two possibilities are ' (which is the usual way to write \prime in TeX) and minute (which is the nearest character in the Adobe symbol font that plotmath uses). TeX has its own symbol fonts, and most R devices are based rather on the Adobe one.

On Wed, 10 Jan 2007, Thomas Steiner wrote:

> I want to write something like (LaTeX style)
> b_{norm}=\frac{F\prime(0)}{R\prime(0)}
>
> how do I add the "prime" (first derivative) to a R-plot? The help of
> "plotmath" just talks about "partialdiff". Can you complete this
> command?
>
> text( 30,0.05,labels=expression(b[plain("norm")]==frac(F(0),R(0))) )
>
> Thanks,
> Thomas

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Thu Jan 11 02:11:04 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 10 Jan 2007 - 15:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.