I think this is what you want for the 'axis' command:
axis(1, at = x, labels = T, las=2)
On Wed, Nov 17, 2010 at 12:19 PM, Pelt van, Saskia (KNMI)
wrote:
> Dear R-users,
>
> I am trying to make a plot in R where x and y are plotted in a regular way,
> but the x axis corresponds to another set
Dear R-users,
I am trying to make a plot in R where x and y are plotted in a regular way, but
the x axis corresponds to another set of values.
For example I have x,y and T (all 29 values)
x<- c( -1.31846232, -1.04744756, -0.87034853, -0.72883370, -0.60618971,
-0.49501845, -0.39128988, -0.
2 matches
Mail list logo