[R] prime in expression in plot
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 __ 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.
Re: [R] prime in expression in plot
how do I add the prime (first derivative) to a R-plot? sorry for the noise, I found it myself: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/20984.html I use now (works fine) plot(1,1,xlab=expression(frac(F'(0),R'(0))),xaxt=n) Thomas __ 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.
Re: [R] prime in expression in plot
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, [EMAIL PROTECTED] 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, UKFax: +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.