FW: [R] How do I insert a newline in my title in a plot?

Christos Rodopoulos chrodopoulos at mindshare.gr
Thu Sep 16 15:48:44 CEST 2004


Thank you very much! I should have known...

 well, to inform you, this is the case:
 
  The problem was of a friend of mine, told to me me by phone.
  From the begining I was telling my friend BYPHONE .... to do this:

title("This is a title\nIn 2 lines")

 but my friend understood and did all the time this:

title("This is a title/nIn 2 lines").

 but it is my problem too:
 the problem is that I say slash and I mean backslash, or vice cersa (!) So
the phone-confusion occured, and I 
was reporting a problem which does not exist!

thank you all for your help. Thanks from my friend too, and sorry for the
confusion I created.
-----Original Message-----
From: John Fox [mailto:jfox at mcmaster.ca]
Sent: ÐÝì?ôç, 16 Óå?ôåìâñßïõ 2004 16:25
To: 'Christos Rodopoulos'
Cc: R-help at stat.math.ethz.ch
Subject: RE: [R] How do I insert a newline in my title in a plot?


Dear Christos,

This works for me, and has many times in the past. Is it possible that you
used a forward-slash (/), rather than a back-slash (\)? Alternatively,
perhaps this has something to do with using Greek fonts.

I hope this helps,
 John

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of 
> Christos Rodopoulos
> Sent: Thursday, September 16, 2004 8:00 AM
> To: 'R-help at stat.math.ethz.ch'
> Subject: FW: [R] How do I insert a newline in my title in a plot?
> 
> 
> yes I have tries, and nothing. It just shows the strings with 
> the slashn, just like i typed it.
> -----Original Message-----
> From: Rashid Nassar [mailto:rnassar at duke.edu]
> 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?
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> >
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list