[R] x axis dates
Jim Lemon
jim at bitwrit.com.au
Sun May 13 11:45:44 CEST 2012
On 05/13/2012 03:49 AM, pip 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.
>
Hi Phil,
Try the staxlab function in plotrix.
Jim
More information about the R-help
mailing list