Hello everyone, I would like to perform a line feed on the main title of the plot. How to do that? Thanks Dusan -- View this message in context: http://r.789695.n4.nabble.com/Line-feed-on-main-title-of-the-plot-tp4648884.html Sent from the R help mailing list archive at Nabble.com.
Simply inserting a line feed works for me: plot(1:5, 1:5, main="A title\nwith a line break") Sarah On Thu, Nov 8, 2012 at 9:23 AM, DusanP <dusan.petrovic@bluewin.ch> wrote:> Hello everyone, > > I would like to perform a line feed on the main title of the plot. > > How to do that? > > Thanks > > Dusan > > > > -- >-- Sarah Goslee http://www.functionaldiversity.org [[alternative HTML version deleted]]
On Thu, Nov 8, 2012 at 2:23 PM, DusanP <dusan.petrovic at bluewin.ch> wrote:> Hello everyone, > > I would like to perform a line feed on the main title of the plot. > > How to do that? >plot(1:5, main = "A line\nsplit in two") The "\n" is the newline character.
Thanks a lot! -- View this message in context: http://r.789695.n4.nabble.com/Line-feed-on-main-title-of-the-plot-tp4648916p4649035.html Sent from the R help mailing list archive at Nabble.com.