Adding Year-Month-Day to X axis
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"))