[R] Plot function: hourly data and x-axis

MacQueen, Don m@cqueen1 @end|ng |rom ||n|@gov
Thu Aug 9 18:39:54 CEST 2018

Normally, one turns off the x-axis tick marks and labels by supplying   xaxt='n'  in the plot() call, and then adds a customized x-axis using the axis() function.

But without more information, little help can be provided (a vague question receives a vague answer).

I'd suggest reviewing the posting guide and other advice shown at the bottom of every email sent by R-help.


Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
Lab cell 925-724-7509

On 8/9/18, 7:51 AM, "R-help on behalf of Edoardo Silvestri" <r-help-bounces using r-project.org on behalf of silvestri.casali using gmail.com> wrote:

    Hi all,
    I have a little problem with plot function..
    I have an hourly dataset and I would like plot a variable with x-axis based
    on daily or monthly frequency, just to have a better visualization and
    avoid on x-axis all hours of the dataset.
    Do you know what is the solution?
    	[[alternative HTML version deleted]]
    R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
    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