runAxis {berryFunctions}R Documentation

Label axis with typical running times

Description

Label a numerical axis (in minutes) with time units that are typical for running times (10 sec intervals)

Usage

runAxis(t = 3 * 60, int1 = 10, int2 = 5, side = 1, linarg = NULL, ...)

Arguments

t

Maximum time in minutes

int1

Primary interval (for labels)

int2

Secondary interval (for lines)

side

Side of the plot to draw axis (1,2,3,4 = bottom, left, top, right)

linarg

List of arguments passed to abline

...

Further arguments passed to axis

Value

List with the positions and labels

Author(s)

Berry Boessenkool, berry-b@gmx.de, Jun 2016

See Also

logAxis, monthAxis

Examples

plot(1:200, xaxt="n")
runAxis(t=200, int1=20, int2=10)


[Package berryFunctions version 1.20.1 Index]