Learn R Programming

spinifex (version 0.2.5)

set_axes_position: Returns the axis scale and position.

Description

Typically called, by other functions to scale axes.

Usage

set_axes_position(x, axes)

Arguments

x

Numeric data object to scale and offset.

axes

Position of the axes: "center", "bottomleft" or "off". Defaults to "center".

Value

Scaled and offset `x`` typically controling axes placement.

See Also

pan_zoom to set the scale and offset.

Examples

Run this code
# NOT RUN {
rb <- tourr::basis_random(4, 2)
set_axes_position(x = rb, axes = "bottomleft")
# }

Run the code above in your browser using DataLab