Description Usage Arguments Value
View source: R/scale_into_viewport.R
Scale a pts_tbl into a viewport
1 2 3 4 5 6 7 8 | scale_into_viewport(
tbl,
xc_ = 0, yc_ = 0,
side_ = 1,
x_ = x, y_ = y,
use_bounding_box = TRUE,
keep_bounding = FALSE
)
|
tbl |
[tibble], tibble of points |
xc_ |
[numeric], length 1, x center of viewport |
yc_ |
[numeric], length 1, y center of viewport |
side_ |
[numeric], length 1, nonnegative, the width of the side of the viewport |
x_ |
[symbol], length 1, variable name to use as |
y_ |
[symbol], length 1, variable name to use as |
use_bounding_box |
[logical], length 1, default |
keep_bounding |
[logical], length 1, default |
1 |
tibble with values
x
x coordinate of viewport
y
y coordinate of viewport
z
z coordinate of viewport
face
is point part of "front", "back", "left", "right", "bottom" or "top" face
tb
is point on "top", "middle", "bottom" side of face
rl
is point on "right", "middle", "left" side of face
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.