Message-ID: <CA+8X3fVvqroBKDJJaSpLTDUwoHGXTgZKZNV7inniBFdmB3=M2A@mail.gmail.com>
Date: 2018-05-07T04:34:44Z
From: Jim Lemon
Subject: Adding Year-Month-Day to X axis
In-Reply-To: <C847B396-5DEB-45E3-82B6-0EABB67BDCD5@me.com>
Look at par(las=2) in the graphics package. You will almost certainly
have to increase the bottom margin, e.g.:
par(mar=c(6,4,4,2)
to accomodate the vertical labels.
Jim
On Mon, May 7, 2018 at 2:11 PM, Gregory Coats <gregcoats at me.com> wrote:
> Thanks. Regarding
> axis(1,at=x_yyyymmdd,labels=format(x_yyyymmdd,"%Y-%m-%d"))
>
> How do I get the text for YYYY-MM-DD to be drawn vertically, instead of
> horizontally?
> Greg
>
> On May 6, 2018, at 11:54 PM, Jim Lemon <drjimlemon at gmail.com> wrote:
>
> axis(1,at=x_yyyymmdd,labels=format(x_yyyymmdd,"%Y-%m-%d"))
>
>