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

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Sat Mar 17 15:42:22 CET 2012


You use dput to put your data into an email so we can know what your input is.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Jie Tang <totangjie at gmail.com> 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.
>
>Can anyone tell me how to use axis or at ?thank you .
>
>
>-- 
>> TANG Jie
>> Email: totangjie at gmail.com
>> Tel: 0086-2154896104
>> Shanghai Typhoon Institute,China
>>
>>
>>
>> --
>> TANG Jie
>> Email: totangjie at gmail.com
>> Tel: 0086-2154896104
>> Shanghai Typhoon Institute,China
>>
>
>	[[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