This function is called by plott
to add a time axis to a plot created by plott
. Users are unlikely to need to call the function directly.
draw_axis(side = 1, x = NULL, date_time, last_panel)
a time axis on a graph
see axis
.
A date-time or date object, or other types of objects that can be converted appropriately.
Logical. Is the data being plotted date-time (POSIX) or time in seconds?
Logical. Is this the last panel (in other words, should x axis tick labels be drawn)?