[R] Fwd: how to modify the tickment of x-axis

David Winsemius dwinsemius at comcast.net
Sat Mar 17 19:26:09 CET 2012

On Mar 17, 2012, at 10:17 AM, Jie Tang wrote:

> hi
> I plot a series of observation data every minutes in a day as the
> attachment below
> plot(wnd,type='l',lty=1,col='red',lwd=1,xlab=xxlab,ylab=yylab,ylim=YY)
> In the figure, the x-axis tickment is the number of data   How can I  
> change
> it
> fore example 1h 2h 3h 4h and so on ?
> someone has told me that use dput but it seems useless.

We do not have a copy of wnd so cannot see what that code produced.

> Can anyone tell me how to use axis or at ?thank you .

?axis  # run the worked examples. Then show what code you used if you  
had problems.

David Winsemius, MD
West Hartford, CT

More information about the R-help mailing list