The following part of function hydrograph in EcoHydRology package produces the horizontal axis of the graph shown in the picture hosted in the link: http://postimg.org/image/a2u9x50vv/.
axis(side = 1, at = seq(1, (endindex - begin + 1), length = 14),
pos = 0, labels = format(timeSeries[seq(begin, endindex,
length = 14)], "%d-%b-%y %H:%M"))
I would like the label on the horizontal axis to be vertical (perpendicular to the axis) and each mark single mark to have a label.
To make it horizontal I have tried the following:
axis(las = 1, side = 1, at = seq(1, (endindex - begin + 1), length = 14),
pos = 0, labels = format(timeSeries[seq(begin, endindex,
length = 14)], "%d-%b-%y %H:%M"))
But it did not work.
I have been looking in some webpages (it won't allow me to post the link) but could not figure that out.