shift_axes: Shift axes

Description Usage

View source: R/shift_axes.R

Description

This functions shifts the axes from the default position to a prespecified position on the x- or y-axis. This can be particularly useful for plots that have the null coordinate at x = 0 and y = 0. This function does not apply itself to the ggplot object directly, so it can't be added as a layer, but rather takes the ggplot object as input.

Minimal usage as follows: shift_axes(ggobj, x = 0, y = 0)

Usage

1
shift_axes(plot.obj = NULL, x = 0, y = 0, axis.col = "#cccccc")

norment/normentR documentation built on Nov. 11, 2020, 2:16 a.m.