On Thu, 16 Sep 2004, Christos Rodopoulos wrote:

> 
> yes I have tries, and nothing. It just shows the strings with the slashn,
> just like i typed it.

Please consult the R posting guide and give us some basic information
such as version of R, platform, graphics device and so on.

> plot(1:10)
> title("this is a title\nIn 2 lines")

should work, and does for me on Windows and Linux.  I dimly remember it
did not on a Mac at one point.


> -----Original Message-----
> From: Rashid Nassar [mailto:[EMAIL PROTECTED]
> Sent: Πέμπτη, 16 Σεπτεμβρίου 2004 15:44
> To: Christos Rodopoulos
> Subject: Re: [R] How do I insert a newline in my title in a plot?
> 
> 
> Have you not tried what you have already suggested:
> 
>    title("this is a title\nIn 2 lines")
> ?
> 
> 
> On Thu, 16 Sep 2004, Christos Rodopoulos wrote:
> 
> >  Hello, I want to help me with a simple I think question: How do I insert
> a
> > newline into the title of a plot I have made?
> >
> >  Is it only done with hershey fonts? vfont = ??? and so on? I do not
> > understand Hershey fonts, and I am afraid to use them, since I use greek
> > fonts (iso8859-7).
> >
> >  I need propably something like: title("This is a title\nIn 2 lines");
> >
> >  any help?
> >
> > ______________________________________________
> > [EMAIL PROTECTED] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> >
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to