[R] Titles - main and subtitle won't plot with errbar
dwinsemius at comcast.net
Thu Jan 10 22:29:19 CET 2013
On Jan 10, 2013, at 6:54 AM, masepot wrote:
> Hi, I'm struggling with errbar graphics.
> I'm trying to plot an x-y graph with correct labelling, however can't seem
> to get main and sub to show on my graph.
If you are like me you are perhaps being surprised by the fact that the "subtitle" s not appearing just below the "title" but rather below the "xlab". If you are also like me it will take you some time to learn that the 'xlab' and the 'ylab' have nothing to do with "labels".
> They do work when I use title(main="," etc...., but this will make it look
> at lot messier,I'll have to blank out ylab=" " , and I need to try and get
> the titles to update automatically according to my excel column headings and
> paste function.
> Example code....
> #the base plot works
> #titles are shown correctly using plot
> #the ylab and xlab update correctly, however main and sub don't?
> (my original is a lot more complicated as I'm reading from excel, and have
> managed to plot SD and mean for my dataset, but for some reason the main and
> sub commands aren't working in errbar!)
> View this message in context: http://r.789695.n4.nabble.com/Titles-main-and-subtitle-won-t-plot-with-errbar-tp4655149.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Alameda, CA, USA
More information about the R-help