Skip to content
Back to formatted view

Raw Message

Message-ID: <86EEBAC1-78C7-4660-A101-CA4BCD3A9CEE@me.com>
Date: 2018-05-08T23:00:08Z
From: Gregory Coats
Subject: Adding Year-Month-Day to X axis
In-Reply-To: <CAGgJW75Wmz=BC4dj1S5nbuZAY0AQp6JFkq513nptzcYH25LAkw@mail.gmail.com>

I do not see any difference between the x versus y plot drawn in blue, and the y only plot drawn in red. Is the correct?
Greg

y_duration <- c (301.59050, 387.35700, 365.64366, 317.26150, 321.71883, 342.44950, 318.95350, 322.33233, 330.60333, 428.99516, 297.82066, 258.23166, 282.01816, 280.00000)
x_yyyymmdd <-as.Date(c ("2018-04-25", "2018-04-26", "2018-04-27", "2018-04-28", "2018-04-29", "2018-04-30", "2018-05-01", "2018-05-02", "2018-05-03", "2018-05-04", "2018-05-05", "2018-05-06", "2018-05-07", "2018-05-08)"), format="%Y-%m-%d")
plot (x_yyyymmdd, y_duration, type="l", xaxt="n", yaxt="n", ylim=range(240,480), xlab="", ylab="", col="blue")
plot (            y_duration, type="l", xaxt="n", yaxt="n", ylim=range(240,480), xlab="", ylab="", col="red" )


	[[alternative HTML version deleted]]