Hi, Is it possible to increase just the text size of the main title on my graph? If so, how?! Along the same lines..along the x axis at a lot of the labels overlap each other, is it possible to make this text smaller of write it on two lines so it doesn't take up as much space along the x axis? Any help would be much appreciated! Mary _________________________________________________________________ [[alternative HTML version deleted]]
Sure, look at ?par - especially the various cex.* options. Sarah On Sat, Apr 11, 2009 at 10:44 AM, Mary Winter <statsstudent at hotmail.com> wrote:> > > > Hi, > > > > Is it possible to increase just the text size of the main title on my graph? If so, how?! > > > > Along the same lines..along the x axis at a lot of the labels overlap each other, is it possible to make this text smaller of write it on two lines so it doesn't take up as much space along the x axis? > > > > Any help would be much appreciated! > > > > Mary >-- Sarah Goslee http://www.functionaldiversity.org
Hi, If you have a look at the help for par (type ?par at the prompt) and then have a read of the section on 'cex' that should point you in the right direction. You can pass the cex argument to the plot routines as well rather than changing them in par. Steve Mary Winter wrote:> > > Hi, > > > > Is it possible to increase just the text size of the main title on my graph? If so, how?! > > > > Along the same lines..along the x axis at a lot of the labels overlap each other, is it possible to make this text smaller of write it on two lines so it doesn't take up as much space along the x axis? > > > > Any help would be much appreciated! > > > > Mary > > _________________________________________________________________ > > > [[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.
?par and please note the ctex.main parameter. BTW, it would be better if you use an informative email subject. Best>2009/4/11 Mary Winter <statsstudent at hotmail.com>: > > > > Hi, > > > > Is it possible to increase just the text size of the main title on my graph? If so, how?! > > > > Along the same lines..along the x axis at a lot of the labels overlap each other, is it possible to make this text smaller of write it on two lines so it doesn't take up as much space along the x axis? > > > > Any help would be much appreciated! > > > > Mary > > _________________________________________________________________ > > > ? ? ? ?[[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. >-- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html
Dear Mary, Try plot(1,1,main='Title here',cex.main=4) See ?par, especially the cex.* parameter(s). HTH, Jorge On Sat, Apr 11, 2009 at 10:44 AM, Mary Winter <statsstudent@hotmail.com>wrote:> > > > Hi, > > > > Is it possible to increase just the text size of the main title on my > graph? If so, how?! > > > > Along the same lines..along the x axis at a lot of the labels overlap each > other, is it possible to make this text smaller of write it on two lines so > it doesn't take up as much space along the x axis? > > > > Any help would be much appreciated! > > > > Mary > > _________________________________________________________________ > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. >[[alternative HTML version deleted]]