powered by
Pan (offset) and zoom (scale) a 2 column matrix, dataframe or scaler number.
pan_zoom(x, x_offset = 0L, y_offset = 0L, scale = 1L)
Numeric data object with 2 columns (or scaler) to scale and offset.
Numeric value to pan in the x-direction.
Numeric value to pan in the x-directionl
Numeric value to scale/zoom the size for x.
Scaled and offset x. A manual variant of set_axes_position().
x
set_axes_position for preset choices.
set_axes_position
# NOT RUN { ib <- tourr::basis_init(6, 2) pan_zoom(x = ib, x_offset = -1, y_offset = 0, scale = 2/3) # }
Run the code above in your browser using DataLab