Re: [R] square brackets in expression in plots

2010-07-21 Thread Jannis
group("[",a, "]")' plot(1:10,main=parse(text=b)) Cheers Jannis --- David Winsemius schrieb am Di, 20.7.2010: > Von: David Winsemius > Betreff: Re: [R] square brackets in expression in plots > An: "Jannis" > CC: r-h...@stat.math.ethz.ch >

Re: [R] square brackets in expression in plots

2010-07-20 Thread Duncan Murdoch
On 20/07/2010 12:42 PM, Jannis wrote: Dears, do you know whether it is possible to include any square parantheses (brackets) in an expression to use it as an axis label? e.g. I would like to have a label like (with the sub and superscripts correct): "speed [m s^-1]" I know how to combine an

Re: [R] square brackets in expression in plots

2010-07-20 Thread David Winsemius
On Jul 20, 2010, at 12:42 PM, Jannis wrote: Dears, do you know whether it is possible to include any square parantheses (brackets) in an expression to use it as an axis label? e.g. I would like to have a label like (with the sub and superscripts correct): "speed [m s^-1]" Not exactl

[R] square brackets in expression in plots

2010-07-20 Thread Jannis
Dears, do you know whether it is possible to include any square parantheses (brackets) in an expression to use it as an axis label? e.g. I would like to have a label like (with the sub and superscripts correct): "speed [m s^-1]" I know how to combine an expression with text via paste, but as