metricsgraphics (version 0.9.0)

mjs_axis_y: Configure y axis ticks & limits

Description

Configure y axis ticks & limits

Usage

mjs_axis_y(mjs, show = TRUE, yax_count = 5, min_y = NULL, max_y = NULL, extended_ticks = FALSE, y_scale_type = "linear", yax_units = "", rug = FALSE)

Arguments

mjs
metricsgraphics plot object
show
display the axis? (default: TRUE - yes)
yax_count
tick count
min_y
min limit for y axis
max_y
max limit for y axis
extended_ticks
extend ticks on y axis?
y_scale_type
scale for y axis; either "linear" (default) or "log"
yax_units
a prefix symbol to be shown alongside the y axis' labels. Useful for currencies, for instance.
rug
show a "rug" plot next to the y axis? (default: FALSE - no)

Value

metricsgraphics object