[R] Text in plots

Sven Garbade garbade at psy.uni-muenchen.de
Fri Jul 13 17:56:04 CEST 2001


Thomas Lumley wrote:
> 
> On Fri, 13 Jul 2001, Sven Garbade wrote:
> 
> > Hi there,
> >
> > I've added some test to my plots with:
> >
> > > diff <- ma - m
> > > mtext(substitute(Delta == that, list(that=diff)), side=3, adj=0, line=0, cex=0.8)
> >
> > Now I want to add a "V" and tried this:
> >
> > >mtext(substitute(list(Delta, italic(V)) == that, list(that=diff)), ...)
> >
> > but this plots a comma between Delta and V. How can I add Delta V
> > without the comma?
> 
> Delta*italic(V) rather than list(Delta,italic(V))

Thanks, this works.

By, Sven
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list