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)

Arguments

side

See axis.

x

A date-time or date object.

date_time

Logical. Is the data being plotted date-time (POSIX) or time in seconds?

last_panel

Logical. Is this the last panel (in other words, should x axis tick labels be drawn)?