Re: [R] plot labeling and expressions

2008-01-16 Thread Johannes Graumann
Uwe Ligges wrote: > > > Johannes Graumann wrote: >> Hi all, >> >> I'm trying to use an iteration that appends something to vector >> 'peaklabels' like so: >> peaklabelNames <- append( >> peaklabelNames, >> substitute(i^{z+phantom()}*" ("*a*"AMU)",list(i="y2",z=2,a=0)) >> ) >> Th

Re: [R] plot labeling and expressions

2008-01-16 Thread Uwe Ligges
Johannes Graumann wrote: > Hi all, > > I'm trying to use an iteration that appends something to vector 'peaklabels' > like so: > peaklabelNames <- append( > peaklabelNames, > substitute(i^{z+phantom()}*" ("*a*"AMU)",list(i="y2",z=2,a=0)) > ) > The vector is supposed to be used wi

[R] plot labeling and expressions

2008-01-15 Thread Johannes Graumann
Hi all, I'm trying to use an iteration that appends something to vector 'peaklabels' like so: peaklabelNames <- append( peaklabelNames, substitute(i^{z+phantom()}*" ("*a*"AMU)",list(i="y2",z=2,a=0)) ) The vector is supposed to be used with 'text' to put labels on signals in an impu