Skip to contents

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.

Usage

draw_axis(side = 1, x = NULL, date_time, last_panel)

Arguments

side

see axis.

x

A date-time or date object, or other types of objects that can be converted appropriately.

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)?

Value

a time axis on a graph