[R] axis title on two lines

John Kane jrkrideau at yahoo.ca
Tue Oct 30 18:24:57 CET 2007


I'm glad it worked.  We must have slightly different
settings of some kind as my results with the single
mtext gives me two lines centred. Strange.


--- Marcel Sandow <msandow at ifm-geomar.de> wrote:

> Thanksmtext is exactly what I am looking for. Using
> \n inside gave the same results as before. But using
> two independent mtext code lines with defferent line
> settings worked perfectly.----- Ursprüngliche
> Nachricht -----Von: John Kane Datum: Dienstag,
> Oktober 30, 2007 2:56 pmBetreff: Re: [R] axis title
> on two linesAn: Marcel Sandow ,
> r-help at stat.math.ethz.ch> You might want to replace
> the xlab with mtext? > > aa <- 1:10> plot(aa,
> xlab='')> mtext("label one \n label number two" ,
> side=1,> line=3)> > > --- Marcel Sandow  wrote:> > >
> Hello,I am searching for the possibility to make a>
> > two lines axis title. This> >
> suggestion:ylab=expression(paste("log rate\n[> >
> fluor.",inc. %.% cell^{-1} %.% sec^{-1},"> >
> ]"))results in two lines left not centered and with>
> > a large gap.any suggestions.ThanksMarcel > > > >>
>
______________________________________________________________________________>
> > > > Marcel Sandow> > > > Leibniz Institute of
> Marine Sciences - IFM-Geomar> > Experimental
> Ecology: Foodwebs> > Düsternbrooker Weg 20> > 24105
> Kiel> > Germany> > > > Fon: +49-431-600-4404> > Fax:
> +49-431-600-1515> > > > Homepage:
> http://www.ifm-geomar.de> > E-mail:
> msandow at ifm-geomar.de> > > > > > > > 	[[alternative
> HTML version deleted]]> > > > >
> ______________________________________________> >
> R-help at r-project.org mailing list> >
> https://stat.ethz.ch/mailman/listinfo/r-help> >
> PLEASE do read the posting guide> >
> http://www.R-project.org/posting-guide.html> > and
> provide commented, minimal, self-contained,> >
> reproducible code.> > > > > >      Be smarter than
> spam. See how smart SpamGuard is at giving > junk

> http://mrd.mail.yahoo.com/try_beta?.intl=ca> 
> 
>
______________________________________________________________________________
> 
> Marcel Sandow
> 
> Leibniz Institute of Marine Sciences - IFM-Geomar
> Experimental Ecology: Foodwebs
> Düsternbrooker Weg 20
> 24105 Kiel
> Germany
> 
> Fon: +49-431-600-4404
> Fax: +49-431-600-1515
> 
> Homepage: http://www.ifm-geomar.de
> E-mail: msandow at ifm-geomar.de
> 
> 
>



More information about the R-help mailing list