On 08/15/2012 10:45 PM, S Ellison wrote:
label<- 'Temperature'
unit<- bquote(degree*C)
text(5,5,substitute(l~u, list(l=label, u=unit)))
Thanks, that's exactly what I was after.
Regards,
Trevor.
--
Please consider the environment before printing this email.
NIWA is the trading name of the Nation
If I have two variables set, one of which holds an expression, for example:
> label <- 'Temperature'
> unit <- expression(paste(degree,'C'))
how can I join them together for use in mtext (or equivalent)? The
following is conceptually what I want to do, but will obviously not work:
> plot(0:1)
>
On 12/13/2011 12:14 PM, Ryan Utz wrote:
My vectors names are neatly stored in a character vector of their own. This
happens based on how they were imported. So, say I have vectors a, b and c,
all with numeric-only contents. Then I have another vector, say z, that
looks like this:
z<-c("a","b","c
3 matches
Mail list logo