[R] x axis dates

R. Michael Weylandt <michael.weylandt@gmail.com> michael.weylandt at gmail.com
Sun May 13 03:33:07 CEST 2012


My guess is that this is sensitive to the size of the graphics device being used so the simplest thing to do is simply make your plot device bigger. 

Otherwise, we'll need a reproducible example. 

Michael

On May 12, 2012, at 1:49 PM, pip <philsivyer at hotmail.com> wrote:

> The following data spans out to 2012 and when graphing out the data - R
> defaults dates on x axis only shows the years eg 2005    2007    2009  
> 
> My question is how can I get the graph to show more dates on the axis - eg
> every qtr or 6 months or every month etc
> 
> PRODUCT,DATE,AMOUNT_1,AMOUNT_2
> A,3/1/2005,126647400,121942966.2
> A,4/1/2005,121942966.2,122244045
> A,5/1/2005,122244045,117227480.04
> A,6/1/2005,117227480.04,117913720.32
> A,7/1/2005,117913720.32,116767296.
> 
> Regards
> Phil
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/x-axis-dates-tp4629217.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.



More information about the R-help mailing list