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

John Kane jrkrideau at inbox.com
Thu Mar 8 16:11:36 CET 2012


The R-help list usually strips attachements and did so with yours so we have no data.  You can include sample data by using dput and pasting the result into your email. See ?dput for more information.


John Kane
Kingston ON Canada


> -----Original Message-----
> From: totangjie at gmail.com
> Sent: Thu, 8 Mar 2012 11:25:21 +0800
> To: r-help at r-project.org
> Subject: [R] how to modify the tickment of x-axis
> 
> 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 ?
> 
> 
> --
> TANG Jie
> Email: totangjie at gmail.com
> Tel: 0086-2154896104
> Shanghai Typhoon Institute,China
> ______________________________________________
> 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.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!



More information about the R-help mailing list