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

MacQueen, Don
Thu, 09 Aug 2018 16:39:54 -0000

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

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



?On 8/9/18, 7:51 AM, "R-help on behalf of Edoardo Silvestri"
<r-help-bounces at r-project.org on behalf of silvestri.casali at
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?
    Thanks
    Edo

    	[[alternative HTML version deleted]]

    ______________________________________________
    R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
    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.