Re: [R] Change font-face in title

2008-07-23 Thread Mike Prager
Ok, thanks! "Gabor Grothendieck" <[EMAIL PROTECTED]> wrote: > See ?title where its mentioned that calls are ok and a formula > is a call. Actually the first ~ is not needed since its already > a formula. > > On Tue, Jul 22, 2008 at 1:12 PM, Mike Prager <[EMAIL PROTECTED]> wrote: > > "Gabor Grot

Re: [R] Change font-face in title

2008-07-22 Thread Gabor Grothendieck
See ?title where its mentioned that calls are ok and a formula is a call. Actually the first ~ is not needed since its already a formula. On Tue, Jul 22, 2008 at 1:12 PM, Mike Prager <[EMAIL PROTECTED]> wrote: > "Gabor Grothendieck" <[EMAIL PROTECTED]> wrote: >> >> plot(1, type="l", xlab="Wellenl

Re: [R] Change font-face in title

2008-07-22 Thread Mike Prager
"Gabor Grothendieck" <[EMAIL PROTECTED]> wrote: > > plot(1, type="l", xlab="Wellenlänge [nm]", col="darkslategray", > main = ~ Spektrum ~ italic("Deschampsia caespitosa")) That clearly works, but why? Does the tilde cause the rest of the text to be parsed as an expression? This looks ext

Re: [R] Change font-face in title

2008-07-19 Thread Albin Blaschka
jim holtman wrote: Is this what you want: plot(0,main=expression(paste("test ", italic("italic"), " and more"))) On Sat, Jul 19, 2008 at 11:31 AM, Albin Blaschka <[EMAIL PROTECTED]> wrote: Dear List, Is there a possibility to change the font-face for a part of the title of a plot? Hello

Re: [R] Change font-face in title

2008-07-19 Thread Gabor Grothendieck
Or this which looks slightly better: plot(1, type="l", xlab="Wellenlänge [nm]", col="darkslategray", main = ~ Spektrum ~ italic("Deschampsia caespitosa")) On Sat, Jul 19, 2008 at 11:56 AM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Try this: > > plot(1, type="l", xlab="Wellenlänge [nm

Re: [R] Change font-face in title

2008-07-19 Thread jim holtman
Is this what you want: plot(0,main=expression(paste("test ", italic("italic"), " and more"))) On Sat, Jul 19, 2008 at 11:31 AM, Albin Blaschka <[EMAIL PROTECTED]> wrote: > > > Dear List, > > Is there a possibility to change the font-face for a part of the title of a > plot? > > For example I ha

Re: [R] Change font-face in title

2008-07-19 Thread Gabor Grothendieck
Try this: plot(1, type="l", xlab="Wellenlänge [nm]", col="darkslategray", main = ~ Spektrum ~ italic(Deschampsia ~ caespitosa)) On Sat, Jul 19, 2008 at 11:31 AM, Albin Blaschka <[EMAIL PROTECTED]> wrote: > > > Dear List, > > Is there a possibility to change the font-face for a part of the ti

[R] Change font-face in title

2008-07-19 Thread Albin Blaschka
Dear List, Is there a possibility to change the font-face for a part of the title of a plot? For example I have the following... plot(nirs, type="l", xlab="Wellenlänge [nm]", col="darkslategray", main = "Spektrum Deschampsia caespitosa") ...and I would like to change the part of the tit

[R] Change font-face in title

2008-07-18 Thread Albin Blaschka
Dear List, Is there a possibility to change the font-face for a part of the title of a plot? For example I have the following... plot(nirs, type="l", xlab="Wellenlänge [nm]", col="darkslategray", main = "Spektrum Deschampsia caespitosa") ...and I would like to change the part of the tit