Re: [R] embedding expression into title in R plot

2016-01-11 Thread Evan Cooch
On 1/11/2016 2:08 PM, William Dunlap wrote: I tend to use bquote, as in x_label <- bquote(bold(species) ~ (italic(N1))) plot(1:10,main=bquote("This is the expression for" ~ .(x_label) * "!")) Thanks -- I thought I'd tried something very close to this in my various attempts, but it

Re: [R] embedding expression into title in R plot

2016-01-11 Thread Evan Cooch
David -- On 1/11/2016 1:01 PM, David Winsemius wrote: On Jan 11, 2016, at 7:59 AM, Evan Cooch wrote: Suppose I've specified that the xlab for a plot is expression(bold(species~(italic(N1 In other words, I want the axis label to be bold, italic 'species (N1)' Now, I want the title for

Re: [R] embedding expression into title in R plot

2016-01-11 Thread William Dunlap via R-help
I tend to use bquote, as in x_label <- bquote(bold(species) ~ (italic(N1))) plot(1:10,main=bquote("This is the expression for" ~ .(x_label) * "!")) Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Jan 11, 2016 at 7:59 AM, Evan Cooch wrote: > Suppose I've specified that the xlab for a

Re: [R] embedding expression into title in R plot

2016-01-11 Thread David Winsemius
> On Jan 11, 2016, at 7:59 AM, Evan Cooch wrote: > > Suppose I've specified that the xlab for a plot is > > expression(bold(species~(italic(N1 > > In other words, I want the axis label to be bold, italic 'species (N1)' > > Now, I want the title for the plot to be have this label embedded