[R] two line plot title with expression problem
p.dalgaard at biostat.ku.dk
Fri Feb 25 19:18:54 CET 2005
Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
> > If the second line were to be text, this would not be a problem.
> > How can I format the title so that the expression starts immediately
> > under
> > the first line?
> Multi-line expressions are not supported. You can add them by separate
> calls to title(), though:
> title("Golden Section", line=3)
> title(expression(fn:(phi^2-phi-1)), line=2)
> or for left-adjustment, try the same with calls to mtext() and
> specifying arguments "adj" and "at".
Well, plotmath does have atop(). It won't get you the same control
over alignment though.
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help