custom_scale: Extend the axis scale

Description Usage Arguments Value

Description

Extend the axis scale

Usage

1
custom_scale(vec, x_y = "y", extend_ratio_min = 0, extend_ratio_max = 0)

Arguments

vec

a vector as either the x or y coordinates of the data

x_y

whether to extend x or y axis

extend_ratio_min

how much to extend along the negative dimension of the axis

extend_ratio_max

how much to extend along the positive dimension of the axis

Value

xlim or ylim


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.