[R] Reformat x axis

Peter Alspach Peter.Alspach at plantandfood.co.nz
Wed Dec 2 02:32:05 CET 2009


Tena koe M Haywood

I haven't a clue about SAS FORMAT, but R does have the ability to
specify the axis ticks, labels and titles in pretty much any way you
might require.  See ?axis and also ?text

HTH ....

Peter Alspach 

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of d haywood
> Sent: Wednesday, 2 December 2009 1:28 p.m.
> To: r-help at r-project.org
> Subject: [R] Reformat x axis
> 
> 
> Hi
> 
> I am trying to do a simple XY plot with a dataset that has 
> dates stored as integers . I would like to have the X values 
> displayed as dates. I realize I could do this by converting 
> the x values to dates first, However, does R have the ability 
> like SAS FORMAT, for example, of reformatting the values of 
> variables as part of the plot routine?
> 
> Thanks
> 
> D Haywood
>  		 	   		  
> _________________________________________________________________
> Get more out of Hotmail Check out the latest features today
> 
> out-to-get-even-better
> 	[[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.
> 




More information about the R-help mailing list