Learn R Programming

prettyB (version 0.2.2)

add_x_axis: Add tick marks to x/y axis

A nicer set of default tick marks

Description

Add tick marks to x/y axis

A nicer set of default tick marks

Usage

add_x_axis(ticks_x, labels = ticks_x, tick = TRUE, lwd = 0, lwd.ticks = 1)

add_y_axis(ticks_y, labels = ticks_y, tick = TRUE, lwd = 0, lwd.ticks = 1)

Arguments

ticks_x

location of x tick mark

labels

tick label

tick

Display tick mark

lwd

width of line

lwd.ticks

width of tick mark

ticks_y

location of y tick mark